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 |
failOnDataflowAnomalies()
Determines whether the configuration is set to fail a build
in case a data-flow anomaly ("Type D alarm") is reported.
|
boolean |
failOnErrors()
Determines whether the configuration is set to fail a build
in case a definite runtime error 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 failOnDataflowAnomalies()
Copyright © 2016. All rights reserved.