T
- The ThemisAction
that will perform the post build actionpublic abstract class BaseThemisNotifier<T extends ThemisAction>
extends hudson.tasks.Notifier
ThemisAction
for performing the actual action.Modifier and Type | Class and Description |
---|---|
static class |
BaseThemisNotifier.BaseThemisNotifierDescriptor
Base descriptor for Themis notifiers.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier | Constructor and Description |
---|---|
protected |
BaseThemisNotifier(T action)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstanceName() |
boolean |
isFailBuild() |
boolean |
isOnlyOnSuccess() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Delegates to the inner action's
perform . |
void |
setFailBuild(boolean failBuild) |
void |
setOnlyOnSuccess(boolean onlyOnSuccess) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, prebuild
protected final T extends ThemisAction action
protected BaseThemisNotifier(T action)
action
- the action that should be performed when
perform(AbstractBuild, Launcher, BuildListener)
is calledpublic boolean isOnlyOnSuccess()
@DataBoundSetter public void setOnlyOnSuccess(boolean onlyOnSuccess)
public String getInstanceName()
public boolean isFailBuild()
@DataBoundSetter public void setFailBuild(boolean failBuild)
failBuild
- true
if the build should failpublic boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
perform
.perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
true
ThemisAction.perform(Run, FilePath, TaskListener)
Copyright © 2016–2018. All rights reserved.