Package dev.nokee.commons.names
Interface Names
- All Superinterfaces:
Comparable<Name>,FullyQualifiedName,Name,QualifiedName,Qualifier,QualifyingName
- All Known Implementing Classes:
CppNames.ForBinary,CppNames.ForComponent
Represents a naming hierarchy.
Names are a special type of qualifying names that fits in the middle of additional names, ex: <componentName>.<binaryName>.<taskName>, both componentName and binaryName would be node names.
Configuration, task, or software component names are generally leaf names.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.nokee.commons.names.Qualifier
Qualifier.Visitor -
Method Summary
Modifier and TypeMethodDescriptiondefault FullyQualifiedNameappend(ElementName name) Creates a fully qualified name (leaf) for the specified element name.default NamesCreates a child name hierarchy (node) for the specified element name.default NamesvoidappendTo(dev.nokee.commons.names.NameBuilder builder) default FullyQualifiedNamecomponentName(String name) default FullyQualifiedNameconfigurationName(String name) default FullyQualifiedNameconfigurationName(Function<? super ConfigurationName.Builder, ? extends ConfigurationName> action) static Namesstatic NamesofMain()static Namesdefault FullyQualifiedNamedefault FullyQualifiedNamedefault FullyQualifiedNametaskName(Function<? super TaskName.Builder, ? extends TaskName> action) Methods inherited from interface dev.nokee.commons.names.FullyQualifiedName
relativeTo, toStringMethods inherited from interface dev.nokee.commons.names.QualifiedName
with
-
Method Details
-
ofMain
-
ofMain
-
of
-
append
- See Also:
-
append
Creates a child name hierarchy (node) for the specified element name.- Parameters:
name- the other name to append, must not be null- Returns:
- a name hierarchy
-
append
Creates a fully qualified name (leaf) for the specified element name.- Parameters:
name- the element name to append, must not be null- Returns:
- a name
-
taskName
-
taskName
-
taskName
-
configurationName
-
configurationName
default FullyQualifiedName configurationName(Function<? super ConfigurationName.Builder, ? extends ConfigurationName> action) -
componentName
-
appendTo
void appendTo(dev.nokee.commons.names.NameBuilder builder)
-