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