public class BuildFailureObject extends PeriodicTrigger
cronTime, description, masterAction, nodeAction, value| Constructor and Description |
|---|
BuildFailureObject(String value,
String description,
String cronTime,
String nodeAction,
String masterAction)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFailureCause()
Returns the Id of this Failure Cause.
|
String |
getFailureCauseName()
Returns the Name of this Failure Cause.
|
getCronTime, getDescription, getMasterAction, getNodeAction, getValue, isTimeToRestart@DataBoundConstructor public BuildFailureObject(String value, String description, String cronTime, String nodeAction, String masterAction)
value - the failure cause id.description - failure cause descriptioncronTime - cron time format.nodeAction - node script.masterAction - master scriptpublic String getFailureCause() throws hudson.AbortException
hudson.AbortException - if the FailureCause ID doesn't exist in the BuildFailure
Database.public String getFailureCauseName() throws hudson.AbortException
hudson.AbortException - if the FailureCause ID doesn't exist in the BuildFailure
Database.Copyright © 2016–2019. All rights reserved.