Class CapabilityDecorator
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
-
- com.atlassian.bamboo.v2.build.agent.capability.CapabilityDecorator
-
- All Implemented Interfaces:
DecoratedCapabilityRequirement
,Comparable<DecoratedCapabilityRequirement>
public class CapabilityDecorator extends AbstractDecoratedCapabilityRequirement
UI only helper class for theCapability
object
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
capabilityGroup, capabilityType, id, key, textProvider, value
-
-
Constructor Summary
Constructors Constructor Description CapabilityDecorator(@NotNull Capability capability, @NotNull CapabilityType capabilityType, @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull CapabilityGroup capabilityGroup)
CapabilityDecorator(@NotNull String key, @Nullable String value, @Nullable CapabilitySource capabilitySource, long id, @NotNull CapabilityType capabilityType, @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull CapabilityGroup capabilityGroup, @Nullable CapabilitySet capabilitySet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CapabilitySet
getCapabilitySet()
@Nullable CapabilitySource
getCapabilitySource()
@NotNull String
getCapabilitySourceDescription()
String
getOverriddenValue()
-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
compareTo, equals, getCapabilityGroup, getExtraInfo, getId, getKey, getLabel, getValue, getValueDescription, hashCode, isReadonly, toString
-
-
-
-
Constructor Detail
-
CapabilityDecorator
public CapabilityDecorator(@NotNull @NotNull Capability capability, @NotNull @NotNull CapabilityType capabilityType, @Nullable @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull @NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull @NotNull CapabilityGroup capabilityGroup)
-
CapabilityDecorator
public CapabilityDecorator(@NotNull @NotNull String key, @Nullable @Nullable String value, @Nullable @Nullable CapabilitySource capabilitySource, long id, @NotNull @NotNull CapabilityType capabilityType, @Nullable @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull @NotNull com.opensymphony.xwork2.TextProvider textProvider, @NotNull @NotNull CapabilityGroup capabilityGroup, @Nullable @Nullable CapabilitySet capabilitySet)
-
-
Method Detail
-
getCapabilitySet
public CapabilitySet getCapabilitySet()
-
getOverriddenValue
public String getOverriddenValue()
-
getCapabilitySource
@Nullable public @Nullable CapabilitySource getCapabilitySource()
-
getCapabilitySourceDescription
@NotNull public @NotNull String getCapabilitySourceDescription()
-
-