public class SmartFrogBuilder extends hudson.tasks.Builder implements SmartFrogActionListener
Modifier and Type | Class and Description |
---|---|
static class |
SmartFrogBuilder.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
ENV_SF_HOME |
static String |
ENV_SF_USER_HOME |
static long |
HEARTBEAT_PERIOD |
Constructor and Description |
---|
SmartFrogBuilder(String smartFrogName,
String deployHost,
String hosts,
String sfUserHome,
String sfUserHome2,
String sfUserHome3,
String sfUserHome4,
String sfOpts,
String builderId,
boolean useAltIni,
String sfIni,
ScriptSource sfScriptSource) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
buildDaemonCommandLine(String host,
String workspace) |
protected String[] |
buildDeployCommandLine(String host,
String scriptPath,
String componentName,
String workspace) |
protected String[] |
buildKilleThemAllCommandLine(String host) |
protected String[] |
buildStopDaemonCommandLine(String host) |
void |
componentTerminated(boolean normal) |
String |
getBuilderId() |
String |
getDeployHost() |
SmartFrogBuilder.DescriptorImpl |
getDescriptor() |
String |
getHosts() |
String |
getSfIni() |
SmartFrogInstance |
getSfInstance() |
String |
getSfOpts() |
ScriptSource |
getSfScriptSource() |
String |
getSfUserHome() |
String |
getSfUserHome2() |
String |
getSfUserHome3() |
String |
getSfUserHome4() |
String |
getSmartFrogName() |
boolean |
isUseAltIni() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected Object |
readResolve() |
void |
stateChanged() |
void |
stateChanged(SmartFrogAction action,
SmartFrogAction.State newState) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
public static final String ENV_SF_HOME
public static final String ENV_SF_USER_HOME
public static final long HEARTBEAT_PERIOD
protected Object readResolve()
public String getSmartFrogName()
public String getDeployHost()
public String getHosts()
public String getSfUserHome()
public String getSfUserHome2()
public String getSfUserHome3()
public String getSfUserHome4()
public String getSfOpts()
public String getSfIni()
public String getBuilderId()
public boolean isUseAltIni()
public ScriptSource getSfScriptSource()
public SmartFrogInstance getSfInstance()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
IOException
InterruptedException
protected String[] buildDeployCommandLine(String host, String scriptPath, String componentName, String workspace)
public void stateChanged()
stateChanged
in interface SmartFrogActionListener
public void stateChanged(SmartFrogAction action, SmartFrogAction.State newState)
stateChanged
in interface SmartFrogActionListener
public void componentTerminated(boolean normal)
public SmartFrogBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2004-2016. All Rights Reserved.