Package io.fabric8.mockwebserver.crud
Class Attribute
- java.lang.Object
-
- io.fabric8.mockwebserver.crud.Attribute
-
- All Implemented Interfaces:
Comparable<Attribute>
public class Attribute extends Object implements Comparable<Attribute>
-
-
Constructor Summary
Constructors Constructor Description Attribute(Key key, Value value)Attribute(Key key, Value value, AttributeType type)Attribute(Key key, List<Value> values, AttributeType type)Attribute(String key, String value)Attribute(String key, String value, AttributeType type)Attribute(String key, List<String> values, AttributeType type)
-
-
-
Constructor Detail
-
Attribute
public Attribute(Key key, List<Value> values, AttributeType type)
-
Attribute
public Attribute(Key key, Value value, AttributeType type)
-
Attribute
public Attribute(String key, String value, AttributeType type)
-
Attribute
public Attribute(String key, List<String> values, AttributeType type)
-
-
Method Detail
-
getKey
public Key getKey()
-
getType
public AttributeType getType()
-
compareTo
public int compareTo(Attribute o)
- Specified by:
compareToin interfaceComparable<Attribute>
-
-