public boolean isRetryAllowed() {
    return allowRetry;
  }
Gets whether the action can be retried if it failed. The default is
{@code true)}.

@return {@code true} if the action can be retried if it fails.
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionExecutionContext.java