Enum SoftwareComponentCategory
- java.lang.Object
-
- java.lang.Enum<SoftwareComponentCategory>
-
- com.acrolinx.sidebar.pojo.settings.SoftwareComponentCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SoftwareComponentCategory>
public enum SoftwareComponentCategory extends java.lang.Enum<SoftwareComponentCategory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Version information about such components are displayed in the about dialog.DETAIL
Version information about such components are displayed in the detail section of the about dialog or not at all.MAIN
There should be exactly one MAIN component.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoftwareComponentCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoftwareComponentCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN
public static final SoftwareComponentCategory MAIN
There should be exactly one MAIN component. This information is used to identify your client on the server. Version information about this components might be displayed more prominently.
-
DEFAULT
public static final SoftwareComponentCategory DEFAULT
Version information about such components are displayed in the about dialog.
-
DETAIL
public static final SoftwareComponentCategory DETAIL
Version information about such components are displayed in the detail section of the about dialog or not at all.
-
-
Method Detail
-
values
public static SoftwareComponentCategory[] 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 (SoftwareComponentCategory c : SoftwareComponentCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoftwareComponentCategory 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
-
-