Package org.archifacts.core.model
Class ArtifactContainerType
- java.lang.Object
-
- org.archifacts.core.model.ArtifactContainerType
-
- All Implemented Interfaces:
Comparable<ArtifactContainerType>,Named
public final class ArtifactContainerType extends Object implements Named, Comparable<ArtifactContainerType>
The type of an artifact container block. Two instances are considered equal if and only if they are the same instance. Two newly created types with the same names are not considered equal. This is a necessary limitation to avoid ambiguity when querying for elements.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ArtifactContainerType o)StringgetName()static ArtifactContainerTypeof(String name)StringtoString()
-
-
-
Method Detail
-
of
public static ArtifactContainerType of(String name)
-
compareTo
public int compareTo(ArtifactContainerType o)
- Specified by:
compareToin interfaceComparable<ArtifactContainerType>
-
-