Enum CentralRepository.Service
- java.lang.Object
-
- java.lang.Enum<CentralRepository.Service>
-
- org.openbravo.service.centralrepository.CentralRepository.Service
-
- All Implemented Interfaces:
Serializable
,Comparable<CentralRepository.Service>
- Enclosing class:
- CentralRepository
public static enum CentralRepository.Service extends Enum<CentralRepository.Service>
Defines available services in Central Repository
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_CONSISTENCY
MATURITY_LEVEL
MODULE_INFO
REGISTER_MODULE
SCAN
SEARCH_MODULES
VERSION_INFO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CentralRepository.Service
valueOf(String name)
Returns the enum constant of this type with the specified name.static CentralRepository.Service[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGISTER_MODULE
public static final CentralRepository.Service REGISTER_MODULE
-
SEARCH_MODULES
public static final CentralRepository.Service SEARCH_MODULES
-
MODULE_INFO
public static final CentralRepository.Service MODULE_INFO
-
MATURITY_LEVEL
public static final CentralRepository.Service MATURITY_LEVEL
-
SCAN
public static final CentralRepository.Service SCAN
-
CHECK_CONSISTENCY
public static final CentralRepository.Service CHECK_CONSISTENCY
-
VERSION_INFO
public static final CentralRepository.Service VERSION_INFO
-
-
Method Detail
-
values
public static CentralRepository.Service[] 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 (CentralRepository.Service c : CentralRepository.Service.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CentralRepository.Service 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
-
-