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

All Superinterfaces:
BambooIdProvider, BambooObject
All Known Implementing Classes:
CapabilityImpl

public interface Capability
extends BambooObject


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

Field Detail

SYSTEM_PREFIX

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

getKey

@NotNull
String getKey()
Get the key representing the capability

Returns:

getValue

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

Returns:

getValueWithDefault

@NotNull
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(String value)

setKey

void setKey(@NotNull
            String key)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.