public int getCode() {
      return code;
    }
Returns the code associated with this state.

@return the code associated with this state
geode-gfsh/src/main/java/org/apache/geode/management/cli/Result.java