public class StringRunStateMapper extends Object implements RunStateMapper
Constructor and Description |
---|
StringRunStateMapper() |
StringRunStateMapper(String[] valueStrings,
String[] enumStrings) |
Modifier and Type | Method and Description |
---|---|
RunState |
getRunState(ManagedProperty property,
MetaValue value)
Map from the given property meta value to a RunState
|
Map<String,String> |
getValueMapping() |
void |
setValueMapping(Map<String,String> valueMapping) |
public RunState getRunState(ManagedProperty property, MetaValue value)
RunStateMapper
getRunState
in interface RunStateMapper
property
- - the property supplying the valuevalue
- - the property meta valueCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.