public class AvailableValues extends java.lang.Object
UnknownValueException
to identify what available values
are present.Constructor and Description |
---|
AvailableValues(java.lang.String valueType,
java.util.Collection<?> values) |
AvailableValues(java.lang.String valueType,
java.util.Map<?,?> map) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getValues()
The values, as strings, in sorted order.
|
java.lang.String |
getValueType()
The type of value, i.e., "component types" or "service ids".
|
java.lang.String |
toString() |
public AvailableValues(java.lang.String valueType, java.util.Collection<?> values)
valueType
- a word or phrase that describes what the values are such as "component types" or "service ids"values
- a set of objects defining the values; the values will be converted to strings and sorted into
ascending orderpublic AvailableValues(java.lang.String valueType, java.util.Map<?,?> map)
public java.lang.String getValueType()
public java.util.List<java.lang.String> getValues()
public java.lang.String toString()
toString
in class java.lang.Object
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.