public class Container extends java.lang.Object implements java.lang.Comparable<Container>
Constructor and Description |
---|
Container(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attributes)
Construct a Container object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Container other) |
boolean |
equals(java.lang.Object o) |
ContainerAttributes |
getAttributes()
Return the
ContainerAttributes . |
java.util.Set<java.lang.String> |
getGroups()
Return the set of groups this container belongs to.
|
java.lang.String |
getName()
Return the container name.
|
int |
hashCode() |
java.lang.String |
toString() |
public Container(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attributes)
name
- container nameattributes
- container attributespublic java.lang.String getName()
public ContainerAttributes getAttributes()
ContainerAttributes
.public java.util.Set<java.lang.String> getGroups()
public int compareTo(Container other)
compareTo
in interface java.lang.Comparable<Container>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object