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

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.ImageCapabilitySetImpl
All Implemented Interfaces:
BambooObject, CapabilitySet, ImageCapabilitySet, ReadOnlyCapabilitySet, java.lang.Cloneable

public class ImageCapabilitySetImpl
extends CapabilitySetImpl
implements ImageCapabilitySet


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.ImageCapabilitySet
SET_TYPE
 
Constructor Summary
ImageCapabilitySetImpl()
           
ImageCapabilitySetImpl(CapabilityScope capabilityScope)
           
ImageCapabilitySetImpl(CapabilityScope capabilityScope, Capability... capabilities)
           
 
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.v2.build.agent.capability.CapabilitySet
addCapability, addCapability, getCapabilityScope, removeCapability, setCapabilities
 
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.ReadOnlyCapabilitySet
getCapabilities, getCapability
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Constructor Detail

ImageCapabilitySetImpl

public ImageCapabilitySetImpl()

ImageCapabilitySetImpl

public ImageCapabilitySetImpl(CapabilityScope capabilityScope)

ImageCapabilitySetImpl

public ImageCapabilitySetImpl(CapabilityScope capabilityScope,
                              Capability... capabilities)
Method Detail

getSharedCapabilitySetType

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 © 2009 Atlassian Pty Ltd. All Rights Reserved.