@Entity public class CapabilityImpl extends BambooEntityObject implements Capability
SYSTEM_PREFIX
Constructor and Description |
---|
CapabilityImpl() |
CapabilityImpl(String key,
String value) |
CapabilityImpl(String key,
String value,
CapabilitySource capabilitySource) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj) |
void |
copySourceFrom(Capability other) |
void |
copyValueFrom(Capability other) |
boolean |
equals(Object o) |
CapabilitySet |
getCapabilitySet() |
CapabilitySource |
getCapabilitySource()
Get source in which the ability is defined
|
Integer |
getCapabilitySourceMask() |
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.
|
int |
hashCode() |
void |
setCapabilitySet(CapabilitySet capabilitySet) |
void |
setCapabilitySource(CapabilitySource capabilitySourceMask) |
void |
setCapabilitySourceMask(Integer capabilitySourceMask) |
void |
setKey(String key) |
void |
setValue(String value) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
public CapabilityImpl()
public CapabilityImpl(@NotNull String key, @Nullable String value, @Nullable CapabilitySource capabilitySource)
@NotNull public String getKey()
Capability
getKey
in interface Capability
public void setKey(@NotNull String key)
setKey
in interface Capability
@Nullable public String getValue()
Capability
Requirement
getValue
in interface Capability
@NotNull public String getValueWithDefault()
Capability
Requirement
getValueWithDefault
in interface Capability
public void setValue(@Nullable String value)
setValue
in interface Capability
public Integer getCapabilitySourceMask()
public void setCapabilitySourceMask(Integer capabilitySourceMask)
@Nullable public CapabilitySource getCapabilitySource()
Capability
getCapabilitySource
in interface Capability
public void setCapabilitySource(@Nullable CapabilitySource capabilitySourceMask)
setCapabilitySource
in interface Capability
public CapabilitySet getCapabilitySet()
getCapabilitySet
in interface Capability
public void setCapabilitySet(CapabilitySet capabilitySet)
setCapabilitySet
in interface Capability
public void copyValueFrom(Capability other)
copyValueFrom
in interface Capability
public void copySourceFrom(Capability other)
copySourceFrom
in interface Capability
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(Object obj)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.