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
Modifier and TypeFieldDescriptionprotected final CapabilityGroup
protected final CapabilityType
protected final Long
protected final String
protected final com.opensymphony.xwork2.TextProvider
protected final String
-
Constructor Summary
ConstructorDescriptionAbstractDecoratedCapabilityRequirement
(com.opensymphony.xwork2.TextProvider textProvider, CapabilityType capabilityType, String key, String value, CapabilityGroup capabilityGroup, Long id, boolean readonly) -
Method Summary
-
Field Details
-
capabilityType
-
capabilityGroup
-
textProvider
protected final com.opensymphony.xwork2.TextProvider textProvider -
key
-
value
-
id
-
-
Constructor Details
-
AbstractDecoratedCapabilityRequirement
public AbstractDecoratedCapabilityRequirement(com.opensymphony.xwork2.TextProvider textProvider, CapabilityType capabilityType, String key, String value, CapabilityGroup capabilityGroup, Long id, boolean readonly)
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceDecoratedCapabilityRequirement
-
getKey
- Specified by:
getKey
in interfaceDecoratedCapabilityRequirement
-
getLabel
- Specified by:
getLabel
in interfaceDecoratedCapabilityRequirement
-
getExtraInfo
- Specified by:
getExtraInfo
in interfaceDecoratedCapabilityRequirement
-
getValue
- Specified by:
getValue
in interfaceDecoratedCapabilityRequirement
-
getCapabilityGroup
- Specified by:
getCapabilityGroup
in interfaceDecoratedCapabilityRequirement
-
getValueDescription
- Specified by:
getValueDescription
in interfaceDecoratedCapabilityRequirement
-
isReadonly
public boolean isReadonly() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DecoratedCapabilityRequirement>
-
toString
-