|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.ParameterDefinition
com.seitenbau.jenkins.plugins.dynamicparameter.ParameterDefinitionBase
public abstract class ParameterDefinitionBase
Base class for all dynamic parameters.
| Nested Class Summary | |
|---|---|
static class |
ParameterDefinitionBase.RemoteCall
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 | |
|---|---|
protected static java.util.logging.Logger |
logger
Logger. |
| Fields inherited from class hudson.model.ParameterDefinition |
|---|
LIST |
| Constructor Summary | |
|---|---|
protected |
ParameterDefinitionBase(java.lang.String name,
java.lang.String script,
java.lang.String description,
java.lang.String uuid,
boolean remote)
Constructor. |
| Method Summary | |
|---|---|
protected java.lang.Object |
generateValue()
Execute the script and return the result value. |
java.lang.String |
getScript()
Get the script, which generates the parameter value. |
java.util.UUID |
getUUID()
Get unique id for this parameter definition. |
boolean |
isRemote()
Should the script be executed to on a remote slave? |
| Methods inherited from class hudson.model.ParameterDefinition |
|---|
all, copyWithDefaultValue, createValue, createValue, createValue, getDefaultParameterValue, getDescription, getDescriptor, getName, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger logger
| Constructor Detail |
|---|
protected ParameterDefinitionBase(java.lang.String name,
java.lang.String script,
java.lang.String description,
java.lang.String uuid,
boolean remote)
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 java.lang.String getScript()
public final boolean isRemote()
true if the script should be executed remotelypublic final java.util.UUID getUUID()
protected final java.lang.Object generateValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||