|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<SetupConfigItem>
org.jenkinsci.plugins.slave_setup.SetupConfigItem
public class SetupConfigItem
Represents a setup config for one set of labels. It may have its own prepare script, files to copy and command line.
| Nested Class Summary | |
|---|---|
static class |
SetupConfigItem.SetupConfigItemDescriptor
|
| Constructor Summary | |
|---|---|
SetupConfigItem()
Default constructor |
|
SetupConfigItem(String preLaunchScript,
String prepareScript,
File filesDir,
String commandLine,
boolean deployNow,
String assignedLabelString)
Constructor uesd to create the setup config instance |
|
| Method Summary | |
|---|---|
String |
getAssignedLabelString()
Gets the textual representation of the assigned label as it was entered by the user. |
String |
getCommandLine()
Returns the command line code. |
boolean |
getDeployNow()
Returns true if the setup config should be deployed on save of the jenkins config page. |
File |
getFilesDir()
Returns the directory containing the setup relevant files and sub directories |
String |
getPreLaunchScript()
|
String |
getPrepareScript()
Returns the prepare script code. |
boolean |
isPrepareScriptExecuted()
Returns the prepare script executed status. |
void |
setAssignedLabelString(String assignedLabelString)
sets the assigned slaves' labels |
void |
setCommandLine(String commandLine)
sets the command line code. |
void |
setDeployNow(boolean deployNow)
sets the deploy flag. |
void |
setFilesDir(File filesDir)
Sets the files dir. |
void |
setPreLaunchScript(String preLaunchScript)
|
void |
setPrepareScript(String prepareScript)
Sets the prepare script code |
void |
setPrepareScriptExecuted(boolean prepareScriptExecuted)
sets the prepare script executed status. |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
|---|
getDescriptor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public SetupConfigItem(String preLaunchScript,
String prepareScript,
File filesDir,
String commandLine,
boolean deployNow,
String assignedLabelString)
public SetupConfigItem()
| Method Detail |
|---|
public String getPreLaunchScript()
public void setPreLaunchScript(String preLaunchScript)
public String getPrepareScript()
public void setPrepareScript(String prepareScript)
prepareScript - public File getFilesDir()
public String getCommandLine()
public boolean getDeployNow()
public void setFilesDir(File filesDir)
filesDir - firectory to copy the setup files and sub directories from.public void setCommandLine(String commandLine)
commandLine - the command line codepublic void setDeployNow(boolean deployNow)
deployNow - the deploy flagpublic boolean isPrepareScriptExecuted()
public void setPrepareScriptExecuted(boolean prepareScriptExecuted)
prepareScriptExecuted - the prepare script executed statuspublic String getAssignedLabelString()
public void setAssignedLabelString(String assignedLabelString)
assignedLabelString -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||