public class ComponentIdentifier extends Object
The namespace is a short name of the extension that defines the component. Even core configuration have a namespace even though they have namespace in the declaration in the configuration files.
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentIdentifier.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
CORE_PREFIX
This is the namespace prefix for core elements in the configuration.
|
| Constructor and Description |
|---|
ComponentIdentifier(String name,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
static ComponentIdentifier.Builder |
builder() |
static ComponentIdentifier |
buildFromStringRepresentation(String componentIdentifier)
Creates a
ComponentIdentifier from an string representation where the expected format is namespace:name. |
boolean |
equals(Object o) |
String |
getName() |
String |
getNamespace()
The namespace is a short name of the extension that defines the component.
|
int |
hashCode() |
String |
toString() |
public static final String CORE_PREFIX
public String getNamespace()
public String getName()
public static ComponentIdentifier buildFromStringRepresentation(String componentIdentifier)
ComponentIdentifier from an string representation where the expected format is namespace:name. If the
string doesn't contain the namespace then it just needs to be the name of the component and the namespace will default to the
core namespace.componentIdentifier - the component identifier represented as a stringComponentIdentifier created from it's string representation.public static ComponentIdentifier.Builder builder()
ComponentIdentifier.BuilderCopyright © 2020 MuleSoft, Inc.. All rights reserved.