Interface Capability
-
- All Superinterfaces:
BambooIdProvider
,BambooObject
,Serializable
- All Known Implementing Classes:
CapabilityImpl
public interface Capability extends BambooObject, Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static String
SYSTEM_PREFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
copySourceFrom(Capability other)
void
copyValueFrom(Capability other)
CapabilitySet
getCapabilitySet()
@Nullable CapabilitySource
getCapabilitySource()
Get source in which the ability is defined@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.void
setCapabilitySet(CapabilitySet capabilitySet)
void
setCapabilitySource(@Nullable CapabilitySource capabilitySource)
void
setKey(@NotNull String key)
void
setValue(String value)
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Field Detail
-
SYSTEM_PREFIX
static final String SYSTEM_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
@NotNull @NotNull String getKey()
Get the key representing the capability
-
getValue
@Nullable @Nullable String getValue()
A value of the capability property. For matching toRequirement
-
getCapabilitySource
@Nullable @Nullable CapabilitySource getCapabilitySource()
Get source in which the ability is defined
-
getValueWithDefault
@NotNull @NotNull String getValueWithDefault()
A null-safe getter of value of the capability property. For matching toRequirement
- 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 @NotNull String key)
-
setCapabilitySource
void setCapabilitySource(@Nullable @Nullable CapabilitySource capabilitySource)
-
copyValueFrom
void copyValueFrom(Capability other)
-
copySourceFrom
void copySourceFrom(Capability other)
-
-