public class Labels extends Object
| Constructor and Description |
|---|
Labels() |
| Modifier and Type | Method and Description |
|---|---|
static Label |
empty() |
static Label |
from(String internalId,
String label,
String description)
Creates a new label with internalId, label and description.
|
static Label |
fromResources(String resourceIdentifier,
String resourceName) |
static Label |
withId(String internalId)
Creates a new label only with an internal id.
|
static Label |
withTitle(String label,
String description) |
public static Label from(String internalId, String label, String description)
internalId - The internal identifier of the element, e.g., "latitude-field-mapping"label - A human-readable titledescription - A human-readable brief summary of the element.public static Label withId(String internalId)
from(String, String, String)internalId - The internal identifier of the element, e.g., "latitude-field-mapping"public static Label empty()
Copyright © 2018. All rights reserved.