code: public String getPhase() {
          String phase = (String) getStateHelper().eval(PropertyKeys.phase);
          if (phase != null) {
              phase = phase.toUpperCase();
          }
          return phase;
      }
docs: <p>
  Returns the name of the phase in which the action is to be queued. Only the following phases are supported (case does not
  matter):
  </p>
  <ul>
  <li>APPLY_REQUEST_VALUES</li>
  <li>PROCESS_VALIDATIONS</li>
  <li>UPDATE_MODEL_VALUES</li>
  <li>INVOKE_APPLICATION</li>
  </ul>
  <p>
  If the phase is set, it takes precedence over the immediate flag.
  </p>