Enum Class CardColorStrategy
- All Implemented Interfaces:
Serializable,Comparable<CardColorStrategy>,Constable
Represents the possible card color strategies which can be configured for a
RapidView.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the document field id for this strategy.getId()booleanReturns true if the card color can be extracted directly from the index.static CardColorStrategystatic CardColorStrategyReturns the enum constant of this class with the specified name.static CardColorStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ISSUE_TYPE
-
ASSIGNEE
-
PRIORITY
-
NONE
-
CUSTOM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
lookup
-
getId
-
getDocumentFieldId
Returns the document field id for this strategy. This is used to look up the field which defines the color in the index. If null, it means that the color is not stored in the index and needs to be looked up via a query. -
isIndexFieldBasedStrategy
public boolean isIndexFieldBasedStrategy()
-