Package org.openbravo.scheduling
Enum ProcessBundle.Channel
- java.lang.Object
-
- java.lang.Enum<ProcessBundle.Channel>
-
- org.openbravo.scheduling.ProcessBundle.Channel
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessBundle.Channel>
- Enclosing class:
- ProcessBundle
public static enum ProcessBundle.Channel extends Enum<ProcessBundle.Channel>
- Author:
- awolski
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND
DIRECT
SCHEDULED
WEBSERVICE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessBundle.Channel
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessBundle.Channel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECT
public static final ProcessBundle.Channel DIRECT
-
BACKGROUND
public static final ProcessBundle.Channel BACKGROUND
-
SCHEDULED
public static final ProcessBundle.Channel SCHEDULED
-
WEBSERVICE
public static final ProcessBundle.Channel WEBSERVICE
-
-
Method Detail
-
values
public static ProcessBundle.Channel[] 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 (ProcessBundle.Channel c : ProcessBundle.Channel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessBundle.Channel 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
-
-