Enum ReportBugBuilder.BugType
- java.lang.Object
-
- java.lang.Enum<ReportBugBuilder.BugType>
-
- gov.nih.mipav.view.dialogs.reportbug.ReportBugBuilder.BugType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ReportBugBuilder.BugType>
- Enclosing class:
- ReportBugBuilder
public static enum ReportBugBuilder.BugType extends java.lang.Enum<ReportBugBuilder.BugType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC_ERROR_REPORTING
ENHANCEMENT
MIPAV_CRASH
MIPAV_FROZEN
OTHER
UNEXPECTED_OUTPUT
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
-
Constructor Summary
Constructors Modifier Constructor Description private
BugType(java.lang.String bugDescription)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static ReportBugBuilder.BugType
getBugFromDescription(java.lang.String bugDescription)
static ReportBugBuilder.BugType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReportBugBuilder.BugType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNEXPECTED_OUTPUT
public static final ReportBugBuilder.BugType UNEXPECTED_OUTPUT
-
MIPAV_CRASH
public static final ReportBugBuilder.BugType MIPAV_CRASH
-
MIPAV_FROZEN
public static final ReportBugBuilder.BugType MIPAV_FROZEN
-
ENHANCEMENT
public static final ReportBugBuilder.BugType ENHANCEMENT
-
OTHER
public static final ReportBugBuilder.BugType OTHER
-
AUTOMATIC_ERROR_REPORTING
public static final ReportBugBuilder.BugType AUTOMATIC_ERROR_REPORTING
-
-
Method Detail
-
values
public static ReportBugBuilder.BugType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReportBugBuilder.BugType c : ReportBugBuilder.BugType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportBugBuilder.BugType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getBugFromDescription
static ReportBugBuilder.BugType getBugFromDescription(java.lang.String bugDescription)
-
-