@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, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
public 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()
Capability
getKey
in interface Capability
public void setKey(@NotNull @NotNull String key)
setKey
in interface Capability
@Nullable public @Nullable String getValue()
Capability
Requirement
getValue
in interface Capability
@NotNull public @NotNull String getValueWithDefault()
Capability
Requirement
getValueWithDefault
in interface Capability
public void setValue(@Nullable @Nullable String value)
setValue
in interface Capability
public Integer getCapabilitySourceMask()
public void setCapabilitySourceMask(Integer capabilitySourceMask)
@Nullable public @Nullable CapabilitySource getCapabilitySource()
Capability
getCapabilitySource
in interface Capability
public void setCapabilitySource(@Nullable @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.