com.atlassian.bamboo.v2.build.agent.capability
Interface Capability

All Superinterfaces:
BambooObject
All Known Implementing Classes:
CapabilityImpl

public interface Capability
extends BambooObject


Field Summary
static java.lang.String SYSTEM_PREFIX
           
 
Method Summary
 CapabilitySet getCapabilitySet()
           
 java.lang.String getKey()
          Get the key representing the capability
 java.lang.String getValue()
          A value of the capability property.
 java.lang.String getValueWithDefault()
          A null-safe getter of value of the capability property.
 void setCapabilitySet(CapabilitySet capabilitySet)
           
 void setKey(java.lang.String key)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Field Detail

SYSTEM_PREFIX

static final java.lang.String SYSTEM_PREFIX
See Also:
Constant Field Values
Method Detail

getKey

@NotNull
java.lang.String getKey()
Get the key representing the capability

Returns:

getValue

@Nullable
java.lang.String getValue()
A value of the capability property. For matching to Requirement

Returns:

getValueWithDefault

@NotNull
java.lang.String getValueWithDefault()
A null-safe getter of value of the capability property. For matching to Requirement

Returns:
value or empty string if value is null

getCapabilitySet

CapabilitySet getCapabilitySet()

setCapabilitySet

void setCapabilitySet(CapabilitySet capabilitySet)

setValue

void setValue(java.lang.String value)

setKey

void setKey(@NotNull
            java.lang.String key)


Copyright © 2011 Atlassian. All Rights Reserved.