public abstract class LabelUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getCombinedLabel(Serializer serializer,
String deadlineName,
ScopeDescriptor scope)
Creates a label from a scope and a deadlineName, by using the serializer.
|
static String |
getLabel(String input)
Makes sure the returned value has a length equal or the same as the maximum size.
|
public static String getLabel(String input)
input
- the input to get a valid label forString
which can be used as a labelpublic static String getCombinedLabel(@Nonnull Serializer serializer, @Nonnull String deadlineName, @Nonnull ScopeDescriptor scope)
serializer
- a Serializer
to serialize the provided scope
deadlineName
- the String
that holds the deadline name.scope
- scope a ScopeDescriptor
of which a label is neededString
which can be used as a labelCopyright © 2010–2024. All rights reserved.