Package com.polarion.platform.jobs.spi
Class PathJobParameter
java.lang.Object
com.polarion.platform.jobs.spi.AbstractJobParameter
com.polarion.platform.jobs.spi.PathJobParameter
- All Implemented Interfaces:
IJobDescriptor.IJobParameter
Representing
IJobDescriptor.IJobParameter of type Path.
Value passed to convertValue(Object) can be one of these:
nullPathCharSequence
If arbitrary object is passed then Paths.get(String, String...) factory method
is invoked with stringified object.
- Since:
- 3.22.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPathJobParameter(IJobDescriptor.IJobParameterGroup group, String name, String label) Constructor. -
Method Summary
Methods inherited from class com.polarion.platform.jobs.spi.AbstractJobParameter
getDefaultValue, getDescription, getGroup, getLabel, getName, getType, isActive, isRequired, setActive, setDefaultValue, setDescription, setLabel, setRequired
-
Constructor Details
-
PathJobParameter
Constructor.- Parameters:
group- job parameter groupname- job namelabel- job label- Throws:
IllegalArgumentException- if group isnullIllegalArgumentException- if name isnullIllegalArgumentException- if label isnull
-
-
Method Details
-
convertValue
- Parameters:
value- arbitrary value (may benull)- Returns:
- converted value or
null - Throws:
IllegalArgumentException- if value cannot be converted
-