Class ParameterFile
- java.lang.Object
-
- gov.nih.mipav.model.scripting.parameters.Parameter
-
- gov.nih.mipav.model.scripting.parameters.ParameterString
-
- gov.nih.mipav.model.scripting.parameters.ParameterFile
-
public class ParameterFile extends ParameterString
A file parameter used in either the recording or execution of a script action.
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.scripting.parameters.ParameterString
value
-
Fields inherited from class gov.nih.mipav.model.scripting.parameters.Parameter
PARAM_BOOLEAN, PARAM_DOUBLE, PARAM_EXTERNAL_IMAGE, PARAM_FILE, PARAM_FLOAT, PARAM_IMAGE, PARAM_INT, PARAM_LIST, PARAM_LONG, PARAM_SHORT, PARAM_STRING, PARAM_USHORT
-
-
Constructor Summary
Constructors Constructor Description ParameterFile(java.lang.String paramLabel)
Creates a new ParameterFile object without any value.ParameterFile(java.lang.String paramLabel, int paramType)
Creates a new ParameterFile object without any value.ParameterFile(java.lang.String paramLabel, int paramType, java.lang.String paramValue)
Creates a new ParameterFile object.ParameterFile(java.lang.String paramLabel, java.lang.String paramValue)
Creates a new ParameterFile with a new value.ParameterFile(java.lang.String paramLabel, java.lang.String paramTypeString, java.lang.String paramValue)
Creates a new ParameterFile object.
-
Method Summary
-
Methods inherited from class gov.nih.mipav.model.scripting.parameters.ParameterString
getValue, getValueString, setValue
-
Methods inherited from class gov.nih.mipav.model.scripting.parameters.Parameter
convertToString, getLabel, getParent, getParentConditionValueString, getType, getTypeFromString, getTypeString, getTypeString, isOptional, isParentConditionValueMet, isValueAssigned, setOptional, setParent, setParentCondition, setParentConditionValue, setValueAssigned
-
-
-
-
Constructor Detail
-
ParameterFile
public ParameterFile(java.lang.String paramLabel) throws ParserException
Creates a new ParameterFile object without any value.- Parameters:
paramLabel
- The label/name to give to this parameter.- Throws:
ParserException
- If there is a problem creating the parameter.
-
ParameterFile
public ParameterFile(java.lang.String paramLabel, java.lang.String paramValue) throws ParserException
Creates a new ParameterFile with a new value.- Parameters:
paramLabel
- The label/name to give to this parameter.paramValue
- The new parameter value.- Throws:
ParserException
- If there is a problem creating the parameter.
-
ParameterFile
public ParameterFile(java.lang.String paramLabel, int paramType) throws ParserException
Creates a new ParameterFile object without any value.- Parameters:
paramLabel
- The label/name to give to this parameter.paramType
- The type of this parameter (should be PARAM_FILE).- Throws:
ParserException
- If there is a problem creating the parameter.
-
ParameterFile
public ParameterFile(java.lang.String paramLabel, java.lang.String paramTypeString, java.lang.String paramValue) throws ParserException
Creates a new ParameterFile object.- Parameters:
paramLabel
- The label/name to give to this parameter.paramTypeString
- The type of this parameter, in string form.paramValue
- The new parameter value.- Throws:
ParserException
- If there is a problem creating the parameter.
-
ParameterFile
public ParameterFile(java.lang.String paramLabel, int paramType, java.lang.String paramValue) throws ParserException
Creates a new ParameterFile object.- Parameters:
paramLabel
- The label/name to give to this parameter.paramType
- The type of this parameter (should be PARAM_FILE).paramValue
- The new parameter value.- Throws:
ParserException
- If there is a problem creating the parameter.
-
-