Package org.jenkinsci.plugins.cloudstats
Class PhaseExecutionAttachment.ExceptionAttachment
java.lang.Object
org.jenkinsci.plugins.cloudstats.PhaseExecutionAttachment
org.jenkinsci.plugins.cloudstats.PhaseExecutionAttachment.ExceptionAttachment
- All Implemented Interfaces:
Action,ModelObject,Serializable
- Enclosing class:
PhaseExecutionAttachment
@ExportedBean
public static final class PhaseExecutionAttachment.ExceptionAttachment
extends PhaseExecutionAttachment
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.cloudstats.PhaseExecutionAttachment
PhaseExecutionAttachment.ExceptionAttachment -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExceptionAttachment(ProvisioningActivity.Status status, String title, Throwable throwable) ExceptionAttachment(ProvisioningActivity.Status status, Throwable throwable) -
Method Summary
Methods inherited from class org.jenkinsci.plugins.cloudstats.PhaseExecutionAttachment
getDisplayName, getIconFileName, getStatus, getTitle
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ExceptionAttachment
public ExceptionAttachment(@NonNull ProvisioningActivity.Status status, @NonNull Throwable throwable) -
ExceptionAttachment
public ExceptionAttachment(@NonNull ProvisioningActivity.Status status, @NonNull String title, @NonNull Throwable throwable)
-
-
Method Details
-
getCause
Deprecated.Use #getText() instead. -
getText
Full stack trace of the exception.Exported over the remote API at the same
Permissionlevel as the Cloud Statistics management page (Jenkins.SYSTEM_READ), which already renders this information as HTML. No additional redaction is applied here because any caller who can reach/manage/cloud-stats/api/can equally reach the attachment's own HTML page at the same permission level. -
toString
-
getUrlName
Description copied from class:PhaseExecutionAttachmentUrl fragment (without slashes) to provide URL subspace for this attachment.- Specified by:
getUrlNamein interfaceAction- Overrides:
getUrlNamein classPhaseExecutionAttachment- Returns:
- non-null, in case the attachment serves some more content. null otherwise.
-