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

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetImpl
              extended by com.atlassian.bamboo.v2.build.agent.capability.LocalCapabilitySet
All Implemented Interfaces:
BambooObject, CapabilitySet, ReadOnlyCapabilitySet, java.lang.Cloneable

public class LocalCapabilitySet
extends CapabilitySetImpl


Field Summary
static java.lang.String SET_TYPE
           
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
LocalCapabilitySet()
           
LocalCapabilitySet(CapabilityScope capabilityScope)
           
 
Method Summary
 java.lang.String getCapabilitySetType()
          Returns the identifier describing the type of this capability.
 java.lang.String getSharedCapabilitySetType()
          Returns the identifier for the set if it is shared.
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetImpl
addCapability, addCapability, compareTo, equals, getCapabilities, getCapability, getCapabilityScope, hashCode, removeCapability, setCapabilities, setCapabilityScope
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Field Detail

SET_TYPE

public static final java.lang.String SET_TYPE
See Also:
Constant Field Values
Constructor Detail

LocalCapabilitySet

public LocalCapabilitySet()

LocalCapabilitySet

public LocalCapabilitySet(CapabilityScope capabilityScope)
Method Detail

getSharedCapabilitySetType

@Nullable
public java.lang.String getSharedCapabilitySetType()
Description copied from interface: CapabilitySet
Returns the identifier for the set if it is shared. Pretty used exclusively in the UI.

Specified by:
getSharedCapabilitySetType in interface CapabilitySet
Overrides:
getSharedCapabilitySetType in class CapabilitySetImpl
Returns:
"Local", "Remote" or null it not a shared capability type;

getCapabilitySetType

public java.lang.String getCapabilitySetType()
Description copied from interface: CapabilitySet
Returns the identifier describing the type of this capability.

Specified by:
getCapabilitySetType in interface CapabilitySet
Overrides:
getCapabilitySetType in class CapabilitySetImpl
Returns:
"Local", "Remote" or "Image"


Copyright © 2010 Atlassian. All Rights Reserved.