org.apache.tapestry5.ioc.util
Class AvailableValues
java.lang.Object
org.apache.tapestry5.ioc.util.AvailableValues
public class AvailableValues
- extends Object
Used (as part of a UnknownValueException
to identify what available values
are present.
- Since:
- 5.2.0
AvailableValues
public AvailableValues(String valueType,
Collection<?> values)
- Parameters:
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 order
AvailableValues
public AvailableValues(String valueType,
Map<?,?> map)
getValueType
public String getValueType()
- The type of value, i.e., "component types" or "service ids".
getValues
public List<String> getValues()
- The values, as strings, in sorted order.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.