public boolean inService() throws PolicyContextException { validateState("inService"); State state = configStateMachine.getCurrentState(); boolean inService = state.getName().equals("inService"); return inService; }
public boolean inService() throws PolicyContextException { validateState("inService"); State state = configStateMachine.getCurrentState(); boolean inService = state.getName().equals("inService"); return inService; }