Class 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
    • 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