public int getStatusCode() {
    return m_status.getStatus();
  }
Obtain the status code.
This is a shortcut to obtaining the status code from the associated result status.

@return the status code
ambari-server/src/main/java/org/apache/ambari/server/api/services/ResultStatus.java