org.jboss.managed.api
Interface RunStateMapper
- All Known Implementing Classes:
- StringRunStateMapper
public interface RunStateMapper
An interface for mapping a property meta value to a RunState.
- Version:
- $Revision: 84191 $
- Author:
- Scott.Stark@jboss.org
getRunState
RunState getRunState(ManagedProperty property,
MetaValue value)
- Map from the given property meta value to a RunState
- Parameters:
property
- - the property supplying the valuevalue
- - the property meta value
- Returns:
- the RunState. This may be Unknown if the value could not
be mapped to an known run state.
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.