public class FailonSwitch extends Object
Constructor and Description |
---|
FailonSwitch(String failon) |
Modifier and Type | Method and Description |
---|---|
boolean |
failOnAlarms()
Determines whether the configuration is set to fail a build
in case a potential runtime error ("alarm") is reported.
|
boolean |
failOnErrors()
Determines whether the configuration is set to fail a build
in case a definite runtime error is reported.
|
boolean |
failOnFlowAnomalies()
Determines whether the configuration is set to fail a build
in case a flow anomaly ("Type D alarm") is reported.
|
String |
getFailon()
Returns the short name for the currently
configured/set situations in which
the plugin may fail a build.
|
void |
setFailon(String failon) |
@DataBoundConstructor public FailonSwitch(String failon)
public void setFailon(String failon)
public String getFailon()
public boolean failOnErrors()
public boolean failOnAlarms()
public boolean failOnFlowAnomalies()
Copyright © 2016–2018. All rights reserved.