2.17.2: 2011-06-17

net.sf.basedb.plugins.executor
Class ProgramParameter

java.lang.Object
  extended by net.sf.basedb.plugins.executor.ProgramParameter

public class ProgramParameter
extends Object

A program parameter definition and it's values for a specific job. An import/export support plug-in for the executor can call ExternalProgramExecutor.getProgramParameters() at runtime to get a list of all program parameters.

Since:
2.15
Author:
nicklas

Field Summary
private  ParameterDefinition parameterDefinition
           
private  List<?> values
           
 
Constructor Summary
ProgramParameter()
          Create a new parameter object.
 
Method Summary
 ParameterDefinition getParameterDefinition()
          Get the definition of this parameter.
 List<?> getValues()
          Get the values for this parameter.
 void setParameterDefinition(ParameterDefinition parameterDefinition)
           
 void setValues(List<?> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameterDefinition

private ParameterDefinition parameterDefinition

values

private List<?> values
Constructor Detail

ProgramParameter

public ProgramParameter()
Create a new parameter object.

Method Detail

getParameterDefinition

public ParameterDefinition getParameterDefinition()
Get the definition of this parameter.


setParameterDefinition

public void setParameterDefinition(ParameterDefinition parameterDefinition)

getValues

public List<?> getValues()
Get the values for this parameter.

Returns:
A list with the values (empty if no values has been specified)

setValues

public void setValues(List<?> values)

2.17.2: 2011-06-17