|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
com.seitenbau.jenkins.plugins.dynamicparameter.BaseParameterDefinition
com.seitenbau.jenkins.plugins.dynamicparameter.ScriptParameterDefinition
public abstract class ScriptParameterDefinition
Base class for all dynamic parameters.
| Nested Class Summary | |
|---|---|
static class |
ScriptParameterDefinition.BaseDescriptor
Base parameter descriptor. |
static class |
ScriptParameterDefinition.ClasspathScriptCall
Remote call implementation. |
| Nested classes/interfaces inherited from class hudson.model.ParameterDefinition |
|---|
hudson.model.ParameterDefinition.ParameterDescriptor |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class com.seitenbau.jenkins.plugins.dynamicparameter.BaseParameterDefinition |
|---|
logger |
| Fields inherited from class hudson.model.ParameterDefinition |
|---|
LIST |
| Constructor Summary | |
|---|---|
protected |
ScriptParameterDefinition(String name,
String script,
String description,
String uuid,
boolean remote,
String classPath)
Constructor. |
| Method Summary | |
|---|---|
String |
getClassPath()
Get class paths as a single string. |
String[] |
getClassPathList()
Get class paths as a list. |
hudson.FilePath |
getLocalBaseDirectory()
Local class path directory. |
String |
getRemoteClassPath()
Remote class path directory. |
String |
getScript()
Get the script, which generates the parameter value. |
protected ScriptParameterDefinition.ClasspathScriptCall |
prepareLocalCall()
Prepare a local call. |
protected ScriptParameterDefinition.ClasspathScriptCall |
prepareRemoteCall(hudson.remoting.VirtualChannel channel)
Prepare a remote call. |
| Methods inherited from class com.seitenbau.jenkins.plugins.dynamicparameter.BaseParameterDefinition |
|---|
checkParameterValue, createValue, createValue, getScriptResultAsList, getScriptResultAsString, getUUID, isRemote |
| Methods inherited from class hudson.model.SimpleParameterDefinition |
|---|
createValue, createValue |
| Methods inherited from class hudson.model.ParameterDefinition |
|---|
all, copyWithDefaultValue, getDefaultParameterValue, getDescription, getDescriptor, getName, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ScriptParameterDefinition(String name,
String script,
String description,
String uuid,
boolean remote,
String classPath)
name - parameter namescript - script, which generates the parameter valuedescription - parameter descriptionuuid - identifier (optional)remote - execute the script on a remote node| Method Detail |
|---|
public final hudson.FilePath getLocalBaseDirectory()
public final String getRemoteClassPath()
public final String getScript()
public final String getClassPath()
public final String[] getClassPathList()
protected ScriptParameterDefinition.ClasspathScriptCall prepareLocalCall()
BaseParameterDefinition
prepareLocalCall in class BaseParameterDefinition
protected ScriptParameterDefinition.ClasspathScriptCall prepareRemoteCall(hudson.remoting.VirtualChannel channel)
throws IOException,
InterruptedException
BaseParameterDefinition
prepareRemoteCall in class BaseParameterDefinitionchannel - channel to the remote slave where the call will be executed
IOException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||