public interface LabelId extends PropertyKey
LabelsPlugin.ID
plugin.Modifier and Type | Method and Description |
---|---|
static void |
checkIfValid(LabelId id)
Checks if id passed as argument is not
null and its value is not null as well and could be a valid label configuration object id.If not, throw a IllegalArgumentException . |
static LabelId |
create(String id)
Returns a key instance by its string value.
|
static boolean |
isValid(LabelId id)
Returns
true if id passed as argument is not null and its value is not null as well and could be a valid label configuration object
id. |
checkIfValid, checkIfValid, isValid, isValid
checkAndGetIfValid, checkIfValid, compare, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, value
static boolean isValid(LabelId id)
true
if id passed as argument is not null
and its value is not null
as well and could be a valid label configuration object
id.id
- label configuration object id to be checkedtrue
if id passed as argument is not null
and its value is not null
as well and could be a valid label configuration object
id.static void checkIfValid(LabelId id)
null
and its value is not null
as well and could be a valid label configuration object id.IllegalArgumentException
.id
- label configuration object id to be checked