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
public static final class PhaseExecutionAttachment.ExceptionAttachment extends PhaseExecutionAttachment
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.cloudstats.PhaseExecutionAttachment
PhaseExecutionAttachment.ExceptionAttachment
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ExceptionAttachment(ProvisioningActivity.Status status, String title, Throwable throwable)
ExceptionAttachment(ProvisioningActivity.Status status, Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Throwable
getCause()
Deprecated.Use #getText() instead.String
getText()
String
getUrlName()
Url fragment (without slashes) to provide URL subspace for this attachment.String
toString()
-
Methods inherited from class org.jenkinsci.plugins.cloudstats.PhaseExecutionAttachment
getDisplayName, getIconFileName, getStatus, getTitle
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExceptionAttachment
public ExceptionAttachment(@NonNull ProvisioningActivity.Status status, @NonNull Throwable throwable)
-
ExceptionAttachment
public ExceptionAttachment(@NonNull ProvisioningActivity.Status status, @NonNull String title, @NonNull Throwable throwable)
-
-
Method Detail
-
getCause
@Deprecated public Throwable getCause()
Deprecated.Use #getText() instead.
-
getText
@NonNull public String getText()
-
getUrlName
@NonNull public String getUrlName()
Description copied from class:PhaseExecutionAttachment
Url fragment (without slashes) to provide URL subspace for this attachment.- Specified by:
getUrlName
in interfaceAction
- Overrides:
getUrlName
in classPhaseExecutionAttachment
- Returns:
- non-null, in case the attachment serves some more content. null otherwise.
-
-