Class CapabilityGroup
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.CapabilityGroup
-
- All Implemented Interfaces:
Comparable<CapabilityGroup>
public class CapabilityGroup extends Object implements Comparable<CapabilityGroup>
UI only helper class for theCapability
object. Represents a group of capabilties by type.
-
-
Constructor Summary
Constructors Constructor Description CapabilityGroup(CapabilityType capabilityType, com.opensymphony.xwork2.TextProvider textProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCapability(@NotNull Capability capability, @NotNull CapabilityType capabilityType, @Nullable ReadOnlyCapabilitySet parentCapabilitySet)
RequirementDecorator
addRequirement(@NotNull ImmutableRequirement requirement, @NotNull CapabilityType capabilityType)
void
addRequirement(@NotNull ImmutableRequirement requirement, @NotNull CapabilityType capabilityType, @NotNull RequirementAware requirementAware)
int
compareTo(CapabilityGroup o)
boolean
equals(Object o)
List<DecoratedCapabilityRequirement>
getDecoratedObjects()
String
getTypeKey()
String
getTypeLabel()
int
hashCode()
-
-
-
Constructor Detail
-
CapabilityGroup
public CapabilityGroup(CapabilityType capabilityType, com.opensymphony.xwork2.TextProvider textProvider)
-
-
Method Detail
-
getTypeKey
public String getTypeKey()
-
getTypeLabel
public String getTypeLabel()
-
getDecoratedObjects
public List<DecoratedCapabilityRequirement> getDecoratedObjects()
-
addCapability
public void addCapability(@NotNull @NotNull Capability capability, @NotNull @NotNull CapabilityType capabilityType, @Nullable @Nullable ReadOnlyCapabilitySet parentCapabilitySet)
-
addRequirement
public RequirementDecorator addRequirement(@NotNull @NotNull ImmutableRequirement requirement, @NotNull @NotNull CapabilityType capabilityType)
-
addRequirement
public void addRequirement(@NotNull @NotNull ImmutableRequirement requirement, @NotNull @NotNull CapabilityType capabilityType, @NotNull @NotNull RequirementAware requirementAware)
-
compareTo
public int compareTo(CapabilityGroup o)
- Specified by:
compareTo
in interfaceComparable<CapabilityGroup>
-
-