Class GeoprocessingMultiValue
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingParameter
-
- com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingMultiValue
-
public final class GeoprocessingMultiValue extends GeoprocessingParameter
Corresponds to GPMultiValue parameter type in the service REST specification. All the parameters in the list must be of the same type.- Since:
- 100.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingParameter
GeoprocessingParameter.Type
-
-
Constructor Summary
Constructors Constructor Description GeoprocessingMultiValue(GeoprocessingParameter.Type geoprocessingParameterType)
Creates an instance of a geoprocessing multi-value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoprocessingParameter.Type
getValueParameterType()
Returns the type of parameter held by this multi-value.List<GeoprocessingParameter>
getValues()
Returns the list of values.
-
-
-
Constructor Detail
-
GeoprocessingMultiValue
public GeoprocessingMultiValue(GeoprocessingParameter.Type geoprocessingParameterType)
Creates an instance of a geoprocessing multi-value. The multi-value can only hold one type of geoprocessing parameter which is defined by the argument to this constructor.- Parameters:
geoprocessingParameterType
- the type of parameter contained by this multi-value- Throws:
IllegalArgumentException
- if geoprocessingParameterType is null- Since:
- 100.0.0
-
-
Method Detail
-
getValueParameterType
public GeoprocessingParameter.Type getValueParameterType()
Returns the type of parameter held by this multi-value.- Returns:
- the type held by this multi-value
- Since:
- 100.0.0
-
getValues
public List<GeoprocessingParameter> getValues()
Returns the list of values. The values can be changed by modifying this list. The elements in the list must all be of the same type.- Returns:
- the list of values
- Since:
- 100.0.0
-
-