Class ArrayJobParameter

java.lang.Object
com.polarion.platform.jobs.spi.AbstractJobParameter
com.polarion.platform.jobs.spi.ArrayJobParameter
All Implemented Interfaces:
IJobDescriptor.IJobParameter

public class ArrayJobParameter extends AbstractJobParameter
Simple array IJobDescriptor.IJobParameter.

Value passed to convertValue(Object) can be one of these:

  • null
  • one-item Map of any type
  • List of any type
  • array of any type

If item of other type than class from associated IJobDescriptor.IJobParameterType.getTypeClass() or its subclass is encountered than the value is converted by passing its stringified value to the single-string-argument constructor of associated IJobDescriptor.IJobParameterType.getTypeClass().

AbstractJobParameter.getType() returns instance of IJobDescriptor.IJobParameterListType.

Since:
3.3.1
Version:
$Revision$ $Date$
Author:
Stepan Roh
See Also: