Class CapabilityGroup
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.CapabilityGroup
- All Implemented Interfaces:
Comparable<CapabilityGroup>
UI only helper class for the
Capability
object. Represents a group of capabilties by type.-
Constructor Summary
ConstructorDescriptionCapabilityGroup
(CapabilityType capabilityType, com.opensymphony.xwork2.TextProvider textProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCapability
(@NotNull Capability capability, @NotNull CapabilityType capabilityType, @Nullable ReadOnlyCapabilitySet parentCapabilitySet) addRequirement
(@NotNull ImmutableRequirement requirement, @NotNull CapabilityType capabilityType) void
addRequirement
(@NotNull ImmutableRequirement requirement, @NotNull CapabilityType capabilityType, @NotNull RequirementAware requirementAware) int
boolean
int
hashCode()
-
Constructor Details
-
CapabilityGroup
public CapabilityGroup(CapabilityType capabilityType, com.opensymphony.xwork2.TextProvider textProvider)
-
-
Method Details
-
getTypeKey
-
getTypeLabel
-
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) -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CapabilityGroup>
-