Class AbstractDecoratedCapabilityRequirement
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
-
- All Implemented Interfaces:
DecoratedCapabilityRequirement
,Comparable<DecoratedCapabilityRequirement>
- Direct Known Subclasses:
CapabilityDecorator
,RequirementDecorator
public class AbstractDecoratedCapabilityRequirement extends Object implements DecoratedCapabilityRequirement
-
-
Field Summary
Fields Modifier and Type Field Description protected CapabilityGroup
capabilityGroup
protected CapabilityType
capabilityType
protected Long
id
protected String
key
protected com.opensymphony.xwork2.TextProvider
textProvider
protected String
value
-
Constructor Summary
Constructors Constructor Description AbstractDecoratedCapabilityRequirement(com.opensymphony.xwork2.TextProvider textProvider, CapabilityType capabilityType, String key, String value, CapabilityGroup capabilityGroup, Long id, boolean readonly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DecoratedCapabilityRequirement o)
boolean
equals(Object o)
CapabilityGroup
getCapabilityGroup()
@Nullable String
getExtraInfo()
Long
getId()
String
getKey()
String
getLabel()
String
getValue()
@Nullable String
getValueDescription()
int
hashCode()
boolean
isReadonly()
String
toString()
-
-
-
Field Detail
-
capabilityType
protected final CapabilityType capabilityType
-
capabilityGroup
protected final CapabilityGroup capabilityGroup
-
textProvider
protected final com.opensymphony.xwork2.TextProvider textProvider
-
key
protected final String key
-
value
protected final String value
-
id
protected final Long id
-
-
Constructor Detail
-
AbstractDecoratedCapabilityRequirement
public AbstractDecoratedCapabilityRequirement(com.opensymphony.xwork2.TextProvider textProvider, CapabilityType capabilityType, String key, String value, CapabilityGroup capabilityGroup, Long id, boolean readonly)
-
-
Method Detail
-
getId
public Long getId()
- Specified by:
getId
in interfaceDecoratedCapabilityRequirement
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceDecoratedCapabilityRequirement
-
getLabel
public String getLabel()
- Specified by:
getLabel
in interfaceDecoratedCapabilityRequirement
-
getExtraInfo
@Nullable public @Nullable String getExtraInfo()
- Specified by:
getExtraInfo
in interfaceDecoratedCapabilityRequirement
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceDecoratedCapabilityRequirement
-
getCapabilityGroup
public CapabilityGroup getCapabilityGroup()
- Specified by:
getCapabilityGroup
in interfaceDecoratedCapabilityRequirement
-
getValueDescription
@Nullable public @Nullable String getValueDescription()
- Specified by:
getValueDescription
in interfaceDecoratedCapabilityRequirement
-
isReadonly
public boolean isReadonly()
-
compareTo
public int compareTo(DecoratedCapabilityRequirement o)
- Specified by:
compareTo
in interfaceComparable<DecoratedCapabilityRequirement>
-
-