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:
null
Path
CharSequence
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
ConstructorDescriptionPathJobParameter
(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 isnull
IllegalArgumentException
- if name isnull
IllegalArgumentException
- if label isnull
-
-
Method Details
-
convertValue
- Parameters:
value
- arbitrary value (may benull
)- Returns:
- converted value or
null
- Throws:
IllegalArgumentException
- if value cannot be converted
-