protected void setNextState(final TState state) {
    setNextState(getStateId(state));
    failIfAborted();
  }
Set the next state for the procedure.
@param state the state enum object
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/StateMachineProcedure.java