Package org.onehippo.repository.update
Enum NodeUpdaterService.NodeUpdaterResult
- java.lang.Object
-
- java.lang.Enum<NodeUpdaterService.NodeUpdaterResult>
-
- org.onehippo.repository.update.NodeUpdaterService.NodeUpdaterResult
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeUpdaterService.NodeUpdaterResult>
- Enclosing interface:
- NodeUpdaterService
public static enum NodeUpdaterService.NodeUpdaterResult extends Enum<NodeUpdaterService.NodeUpdaterResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_UPDATE_NEEDED
UPDATE_FAILED
UPDATE_SUCCEEDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeUpdaterService.NodeUpdaterResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeUpdaterService.NodeUpdaterResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_UPDATE_NEEDED
public static final NodeUpdaterService.NodeUpdaterResult NO_UPDATE_NEEDED
-
UPDATE_SUCCEEDED
public static final NodeUpdaterService.NodeUpdaterResult UPDATE_SUCCEEDED
-
UPDATE_FAILED
public static final NodeUpdaterService.NodeUpdaterResult UPDATE_FAILED
-
-
Method Detail
-
values
public static NodeUpdaterService.NodeUpdaterResult[] 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 (NodeUpdaterService.NodeUpdaterResult c : NodeUpdaterService.NodeUpdaterResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeUpdaterService.NodeUpdaterResult 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
-
-