Enum AbstractModule.ModuleType
- java.lang.Object
-
- java.lang.Enum<AbstractModule.ModuleType>
-
- org.neotropic.kuwaiba.core.apis.integration.modules.AbstractModule.ModuleType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractModule.ModuleType>
- Enclosing class:
- AbstractModule
public static enum AbstractModule.ModuleType extends Enum<AbstractModule.ModuleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_FREEWARE
TYPE_OPEN_SOURCE
TYPE_OTHER
TYPE_PERPETUAL_LICENSE
TYPE_TEMPORARY_LICENSE
TYPE_TRIAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractModule.ModuleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractModule.ModuleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_OPEN_SOURCE
public static final AbstractModule.ModuleType TYPE_OPEN_SOURCE
-
TYPE_FREEWARE
public static final AbstractModule.ModuleType TYPE_FREEWARE
-
TYPE_TRIAL
public static final AbstractModule.ModuleType TYPE_TRIAL
-
TYPE_PERPETUAL_LICENSE
public static final AbstractModule.ModuleType TYPE_PERPETUAL_LICENSE
-
TYPE_TEMPORARY_LICENSE
public static final AbstractModule.ModuleType TYPE_TEMPORARY_LICENSE
-
TYPE_OTHER
public static final AbstractModule.ModuleType TYPE_OTHER
-
-
Method Detail
-
values
public static AbstractModule.ModuleType[] 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 (AbstractModule.ModuleType c : AbstractModule.ModuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractModule.ModuleType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-