public class PretestedIntegrationAction extends Object implements hudson.model.Action
| Constructor and Description |
|---|
PretestedIntegrationAction(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
AbstractSCMBridge scmBridge) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
finalise(hudson.Launcher launcher,
hudson.model.BuildListener listener)
Invoked by the notifier, responsible for commiting or rolling back the
workspace
|
Commit<?> |
getCommit() |
Commit<?> |
getCurrentIntegrationTip() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getUrlName() |
boolean |
initialise(hudson.Launcher launcher,
hudson.model.BuildListener listener)
Invoked before the build is started, responsible for preparing the
workspace
|
void |
setCurrentIntegrationTip(Commit<?> currentIntegrationTip) |
public PretestedIntegrationAction(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
AbstractSCMBridge scmBridge)
throws NextCommitFailureException
NextCommitFailureExceptionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic Commit<?> getCommit()
public boolean initialise(hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IntegationFailedExeception,
NothingToDoException,
EstablishWorkspaceException,
UnsupportedConfigurationException
launcher - listener - IntegationFailedExeceptionNothingToDoExceptionEstablishWorkspaceExceptionUnsupportedConfigurationExceptionpublic boolean finalise(hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException
launcher - listener - Boolean indicating success or failureIllegalArgumentExceptionIOExceptionpublic Commit<?> getCurrentIntegrationTip()
public void setCurrentIntegrationTip(Commit<?> currentIntegrationTip)
currentIntegrationTip - the currentIntegrationTip to setCopyright © 2004–2014. All rights reserved.