com.atlassian.bamboo.v2.build.agent.capability
Class CapabilityGroup
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.CapabilityGroup
- All Implemented Interfaces:
- java.lang.Comparable<CapabilityGroup>
public class CapabilityGroup
- extends java.lang.Object
- implements java.lang.Comparable<CapabilityGroup>
UI only helper class for the Capability
object. Represents a group of capabilties by type.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CapabilityGroup
public CapabilityGroup(CapabilityType capabilityType,
com.opensymphony.xwork.TextProvider textProvider)
getTypeKey
public java.lang.String getTypeKey()
getTypeLabel
public java.lang.String getTypeLabel()
getDecoratedObjects
public java.util.List<DecoratedCapabilityRequirement> getDecoratedObjects()
addCapability
public void addCapability(@NotNull
Capability capability,
@NotNull
CapabilityType capabilityType,
@Nullable
ReadOnlyCapabilitySet parentCapabilitySet)
addRequirement
public void addRequirement(@NotNull
Requirement requirement,
@NotNull
CapabilityType capabilityType)
addRequirement
public void addRequirement(@NotNull
Requirement requirement,
@NotNull
CapabilityType capabilityType,
@NotNull
Buildable build)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(CapabilityGroup o)
- Specified by:
compareTo
in interface java.lang.Comparable<CapabilityGroup>
Copyright © 2010 Atlassian. All Rights Reserved.