Class ViewBuildError

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BuildableAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

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 com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.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