Class ViewBuildError

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BuildableAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, UserAware, com.atlassian.core.i18n.I18nTextProvider, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class ViewBuildError extends BuildActionSupport
This webwork action views a specified error from the log.
See Also:
  • Constructor Details

    • ViewBuildError

      public ViewBuildError()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • setDecoratedErrorDetailsFactory

      public void setDecoratedErrorDetailsFactory(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory)
    • setErrorHandler

      public void setErrorHandler(ErrorHandler errorHandler)
    • setError

      public void setError(String error)
      The error number provided by the UI
      Parameters:
      error - The number of the error
    • getErrorDetails

      public DecoratedErrorDetailsImpl getErrorDetails()
      Provide the UI with the ErrorDetails obtained from executing this action
      Returns:
      The error details