private static class Call.ExtentCallParameter extends CallParameter
argument, dataType, initialValue, mode, value
Constructor and Description |
---|
ExtentCallParameter(java.lang.String dataType,
boolean isClass,
CallMode mode,
java.lang.Object value)
Create a new wrapper for a parameter which will be used for a native OS API call.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertTo(java.lang.Class<?> cls)
Convert this parameter's
value to be usable as an argument. |
boolean |
copyOutput()
Extent arguments are automatically copied via
AbstractExtentParameter wrappers,
nothing to do. |
convertTo, getArgument
public ExtentCallParameter(java.lang.String dataType, boolean isClass, CallMode mode, java.lang.Object value)
dataType
- The parameter's data type.isClass
- Flag indicating that the datatype is a legacy OO class.mode
- The call mode.value
- The parameter's value.public java.lang.Object convertTo(java.lang.Class<?> cls)
value
to be usable as an argument.
Once converted, it will be cached in the CallParameter.argument
variable.
convertTo
in class CallParameter
cls
- The FWD base data type class for the parameter.CallParameter.argument
.public boolean copyOutput()
AbstractExtentParameter
wrappers,
nothing to do.copyOutput
in class CallParameter
true
.