Interface IEnumOption
- All Known Subinterfaces:
IApprovalStatusOpt
,ICommentTagOpt
,IFeatureLinkOpt
,IHyperlinkRoleOpt
,ILinkRoleOpt
,IPlanCalculationTypeOpt
,IPlanningConstraintOpt
,IPriorityOpt
,IResolutionOpt
,IScriptTypeOpt
,ISelectTestCasesByOpt
,ISeverityOpt
,ISignatureStateOpt
,ISignatureVerdictOpt
,IStatusOpt
,ITestStepKeyOpt
,ITypeOpt
,IWorkRecordTypeOpt
- All Known Implementing Classes:
ConstantEnumOption
,DelegatingOption
,EnumOption
public interface IEnumOption
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getProperty
(String key) This method allows the system to pass through some specific attributes for different enumerations, like colors of texts, or url of icons.int
boolean
boolean
isHidden()
Indicates that the option should be hidden from selectors in UIboolean
Phantom options represent values that are not part of the options available in the enumeration (but probably once were).
-
Field Details
-
PROPERTY_KEY_ICON_URL
- See Also:
-
PROPERTY_KEY_COLOR
- See Also:
-
PROPERTY_KEY_DEFAULT
- See Also:
-
PROPERTY_KEY_DESCRIPTION
- See Also:
-
PROPERTY_KEY_HIDDEN
Indicates that the option should be hidden from selectors in UI- Since:
- 3.6.0
- See Also:
-
PROPERTY_KEY_URI
- Since:
- 3.6.3
- See Also:
-
PROPERTY_KEY_UI_LINK
- Since:
- 3.6.3
- See Also:
-
-
Method Details
-
isPhantom
boolean isPhantom()Phantom options represent values that are not part of the options available in the enumeration (but probably once were). They usually contain no other data than the ID. -
getEnumId
String getEnumId()- Returns:
- The ID of enumeration this option belongs to.
-
getId
String getId() -
getName
String getName() -
getSequenceNumber
int getSequenceNumber()- Returns:
- The sequence number as defined or 0 if not defined.
-
isDefault
boolean isDefault() -
getProperty
This method allows the system to pass through some specific attributes for different enumerations, like colors of texts, or url of icons.- Parameters:
key
-- Returns:
- the
String
property value
-
getProperties
Properties getProperties() -
isHidden
boolean isHidden()Indicates that the option should be hidden from selectors in UI- Since:
- 3.6.0
-