Package com.sodius.oslc.server.trs.model
Enum RebuildHint
- java.lang.Object
-
- java.lang.Enum<RebuildHint>
-
- com.sodius.oslc.server.trs.model.RebuildHint
-
- All Implemented Interfaces:
Serializable
,Comparable<RebuildHint>
public enum RebuildHint extends Enum<RebuildHint>
Enumeration of a TRS Feed rebuild hints.- Since:
- 3.3.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY_FEED
Indicates the rebuild is needed because the feed is empty.EXPOSED_PROJECTS_MISMATCH
Indicates the rebuild is needed because OSLC-enabled projects mismatch exposed projects.FEED_CORRUPTED
Indicates the rebuild is needed because the feed got corrupted.FUNCTIONAL_USER_CHANGED
Indicates the rebuild is needed because the functional user was changed.IN_PROGRESS
Indicates a rebuild was requested and is currently in progress.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RebuildHint
valueOf(String name)
Returns the enum constant of this type with the specified name.static RebuildHint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY_FEED
public static final RebuildHint EMPTY_FEED
Indicates the rebuild is needed because the feed is empty.
-
FUNCTIONAL_USER_CHANGED
public static final RebuildHint FUNCTIONAL_USER_CHANGED
Indicates the rebuild is needed because the functional user was changed.
-
FEED_CORRUPTED
public static final RebuildHint FEED_CORRUPTED
Indicates the rebuild is needed because the feed got corrupted.
-
EXPOSED_PROJECTS_MISMATCH
public static final RebuildHint EXPOSED_PROJECTS_MISMATCH
Indicates the rebuild is needed because OSLC-enabled projects mismatch exposed projects.- Since:
- 3.5.0
-
IN_PROGRESS
public static final RebuildHint IN_PROGRESS
Indicates a rebuild was requested and is currently in progress.- Since:
- 3.5.0
-
-
Method Detail
-
values
public static RebuildHint[] 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 (RebuildHint c : RebuildHint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RebuildHint 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
-
-