org.jboss.deployers.spi.management
Class ContextStateMapper<T extends Enum<?>>
java.lang.Object
org.jboss.deployers.spi.management.ContextStateMapper<T>
public class ContextStateMapper<T extends Enum<?>>
- extends Object
Basic state mapper.
- Version:
- $Revision: 88961 $
- Author:
- Emanuel Muckenhuber
Method Summary |
T |
getErrorState()
|
protected T |
getMapping(org.jboss.dependency.spi.ControllerState controllerState)
|
T |
map(org.jboss.dependency.spi.ControllerState currentState,
org.jboss.dependency.spi.ControllerState toState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextStateMapper
public ContextStateMapper(Map<String,T> mappings,
T installState,
T uninstallState,
T error,
T unknown)
getErrorState
public T getErrorState()
map
public T map(org.jboss.dependency.spi.ControllerState currentState,
org.jboss.dependency.spi.ControllerState toState)
getMapping
protected T getMapping(org.jboss.dependency.spi.ControllerState controllerState)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.