public boolean resourceStateTransitTo(Host host, ResourceState.Event event,
long msId) throws NoTransitionException {
ResourceState currentState = host.getResourceState();
ResourceState nextState = currentState.getNextState(event);
if (nextState == null) {
throw new NoTransitionException(
"No next resource state found for current state ="
+ currentState + " event =" + event);
}
// TO DO - Make it more granular and have better conversion into