Package com.polarion.platform.jobs.spi
Class PropertiesJobParameter
java.lang.Object
com.polarion.platform.jobs.spi.AbstractJobParameter
com.polarion.platform.jobs.spi.PropertiesJobParameter
- All Implemented Interfaces:
IJobDescriptor.IJobParameter
IJobDescriptor.IJobParameter implementation which holds values of type Properties.
Value passed to convertValue(Object) can be one of these:
nullPropertiesMap
Parameter type is IJobDescriptor.IJobParameterStructureType with unknown item type class String.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesJobParameter(IJobDescriptor.IJobParameterGroup group, String name, String label) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionconvertValue(Object value) Helper method for conversion from arbitraryObjectto desired class.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
-
PropertiesJobParameter
Constructor.- Parameters:
group- job parameter groupname- job namelabel- job label- Throws:
IllegalArgumentException- if group isnullIllegalArgumentException- if name isnullIllegalArgumentException- if label isnull
-
-
Method Details
-
convertValue
Description copied from interface:IJobDescriptor.IJobParameterHelper method for conversion from arbitraryObjectto desired class.It is not required that
nullis converted tonullor that non-nullis not converted tonull.- Parameters:
value- arbitrary value (may benull)- Returns:
- converted value or
null
-