public class BasicParameterSet extends Object implements ParameterSet
ParameterSet.| Constructor and Description |
|---|
BasicParameterSet(Map<String,String> entity)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(String name)
Returns the target parameter value.
|
Set<String> |
getAvailable()
Returns the all available parameter names in this set.
|
boolean |
isAvailable(String name)
Returns whether the target parameter is available in this set or not.
|
Map<String,String> |
toMap()
Returns all available parameters.
|
String |
toString() |
public boolean isAvailable(String name)
ParameterSetisAvailable in interface ParameterSetname - the target parameter nametrue if the parameter is available, otherwise falsepublic String get(String name)
ParameterSetget in interface ParameterSetname - the target parameter namenull if the target parameter is not available in this setParameterSet.isAvailable(String)public Set<String> getAvailable()
ParameterSetgetAvailable in interface ParameterSetpublic Map<String,String> toMap()
ParameterSettoMap in interface ParameterSetCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.