Package org.nuxeo.runtime.model
Class ComponentName
java.lang.Object
org.nuxeo.runtime.model.ComponentName
- All Implemented Interfaces:
Serializable
A component name.
Component names are strings of the form type:name
The type part is optional - when missing the type is
assumed to be "service".
Example of valid component names:
- repository:my.repo
- service:my.service
- my.component
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionComponentName
(String rawName) Constructs a component name from its string representation.ComponentName
(String type, String name) Constructs a component name from its two parts: type and name. -
Method Summary
-
Field Details
-
DEFAULT_TYPE
- See Also:
-
-
Constructor Details
-
ComponentName
Constructs a component name from its string representation.- Parameters:
rawName
- the string representation of this name
-
ComponentName
Constructs a component name from its two parts: type and name.- Parameters:
type
- the type part of the component namename
- the name part of the component name
-
-
Method Details
-
getType
Gets the type part of the component name.- Returns:
- the type part
-
getName
Gets the name part of the component name.- Returns:
- the name part
-
getRawName
Gets the qualified component name.- Returns:
- the qualified component name
-
equals
-
hashCode
public int hashCode() -
toString
-