public abstract class ThemisAction extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
ThemisAction(String instanceName)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceName() |
boolean |
isFailBuild() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
Performs the action.
|
void |
setFailBuild(boolean failBuild)
Sets
failBuild . |
protected ThemisAction(String instanceName)
instanceName
- the name of the Themis instance to use, as specified in the Jenkins global configurationpublic String getInstanceName()
public boolean isFailBuild()
public void setFailBuild(boolean failBuild)
failBuild
.failBuild
- true
if the build should failpublic void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.model.TaskListener listener)
run
- the current job executionworkspace
- the workspace of the current joblistener
- the listener to send the output toCopyright © 2016–2018. All rights reserved.