code: public String getPhase() {
          PhaseId myPhaseId = getPhaseId();
          String result = null;
          if (null != myPhaseId) {
              result = myPhaseId.getName();
          }
          return result;
      }
docs: <p class="changed_added_2_2">Returns the name of the lifecycle
  phase in which the action is to be queued.</p>
  
  @since 2.2