public class

CapabilityImpl

extends BambooEntityObject
implements Capability
java.lang.Object
   ↳ com.atlassian.core.bean.EntityObject
     ↳ com.atlassian.bamboo.core.BambooEntityObject
       ↳ com.atlassian.bamboo.v2.build.agent.capability.CapabilityImpl

Summary

[Expand]
Inherited Constants
From interface com.atlassian.bamboo.v2.build.agent.capability.Capability
[Expand]
Inherited Fields
From class com.atlassian.bamboo.core.BambooEntityObject
Public Constructors
CapabilityImpl()
CapabilityImpl(String key, String value)
Public Methods
int compareTo(Object obj)
boolean equals(Object o)
CapabilitySet getCapabilitySet()
@NotNull String getKey()
Get the key representing the capability
@Nullable String getValue()
A value of the capability property.
@NotNull String getValueWithDefault()
A null-safe getter of value of the capability property.
int hashCode()
void setCapabilitySet(CapabilitySet capabilitySet)
void setKey(String key)
void setValue(String value)
String toString()
[Expand]
Inherited Methods
From class com.atlassian.bamboo.core.BambooEntityObject
From class com.atlassian.core.bean.EntityObject
From class java.lang.Object
From interface com.atlassian.bamboo.core.BambooIdProvider
From interface com.atlassian.bamboo.core.BambooObject
From interface com.atlassian.bamboo.v2.build.agent.capability.Capability

Public Constructors

public CapabilityImpl ()

public CapabilityImpl (String key, String value)

Public Methods

public int compareTo (Object obj)

public boolean equals (Object o)

public CapabilitySet getCapabilitySet ()

@NotNull public String getKey ()

Get the key representing the capability

@Nullable public String getValue ()

A value of the capability property. For matching to Requirement

@NotNull public 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

public int hashCode ()

public void setCapabilitySet (CapabilitySet capabilitySet)

public void setKey (String key)

public void setValue (String value)

public String toString ()