@Override
  protected boolean isRollbackSupported(final EnableTableState state) {
    switch (state) {
      case ENABLE_TABLE_PREPARE:
      case ENABLE_TABLE_PRE_OPERATION:
        return true;
      default:
        return false;
    }
  }
Constructor
@param env       MasterProcedureEnv
@param tableName the table to operate on
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/EnableTableProcedure.java