com.atlassian.bamboo.v2.build.agent.capability
Class AbstractDecoratedCapabilityRequirement

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
All Implemented Interfaces:
DecoratedCapabilityRequirement, java.lang.Comparable<DecoratedCapabilityRequirement>
Direct Known Subclasses:
CapabilityDecorator, RequirementDecorator

public class AbstractDecoratedCapabilityRequirement
extends java.lang.Object
implements DecoratedCapabilityRequirement


Field Summary
protected  CapabilityGroup capabilityGroup
           
protected  CapabilityType capabilityType
           
protected  java.lang.Long id
           
protected  java.lang.String key
           
protected  com.opensymphony.xwork.TextProvider textProvider
           
protected  java.lang.String value
           
 
Constructor Summary
AbstractDecoratedCapabilityRequirement(com.opensymphony.xwork.TextProvider textProvider, CapabilityType capabilityType, java.lang.String key, java.lang.String value, CapabilityGroup capabilityGroup, java.lang.Long id)
           
 
Method Summary
 int compareTo(DecoratedCapabilityRequirement o)
           
 boolean equals(java.lang.Object o)
           
 CapabilityGroup getCapabilityGroup()
           
 java.lang.String getExtraInfo()
           
 java.lang.Long getId()
           
 java.lang.String getKey()
           
 java.lang.String getLabel()
           
 java.lang.String getValue()
           
 java.lang.String getValueDescription()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capabilityType

protected final CapabilityType capabilityType

capabilityGroup

protected final CapabilityGroup capabilityGroup

textProvider

protected com.opensymphony.xwork.TextProvider textProvider

key

protected java.lang.String key

value

protected java.lang.String value

id

protected java.lang.Long id
Constructor Detail

AbstractDecoratedCapabilityRequirement

public AbstractDecoratedCapabilityRequirement(com.opensymphony.xwork.TextProvider textProvider,
                                              CapabilityType capabilityType,
                                              java.lang.String key,
                                              java.lang.String value,
                                              CapabilityGroup capabilityGroup,
                                              java.lang.Long id)
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface DecoratedCapabilityRequirement

getKey

public java.lang.String getKey()
Specified by:
getKey in interface DecoratedCapabilityRequirement

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface DecoratedCapabilityRequirement

getExtraInfo

@Nullable
public java.lang.String getExtraInfo()
Specified by:
getExtraInfo in interface DecoratedCapabilityRequirement

getValue

public java.lang.String getValue()
Specified by:
getValue in interface DecoratedCapabilityRequirement

getCapabilityGroup

public CapabilityGroup getCapabilityGroup()
Specified by:
getCapabilityGroup in interface DecoratedCapabilityRequirement

getValueDescription

@Nullable
public java.lang.String getValueDescription()
Specified by:
getValueDescription in interface DecoratedCapabilityRequirement

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(DecoratedCapabilityRequirement o)
Specified by:
compareTo in interface java.lang.Comparable<DecoratedCapabilityRequirement>


Copyright © 2011 Atlassian. All Rights Reserved.