Package com.polarion.platform.jobs.spi
Class JobParameterPrimitiveType
java.lang.Object
com.polarion.platform.jobs.spi.JobParameterPrimitiveType
- All Implemented Interfaces:
IJobDescriptor.IJobParameterPrimitiveType,IJobDescriptor.IJobParameterType
public class JobParameterPrimitiveType
extends Object
implements IJobDescriptor.IJobParameterPrimitiveType
IJobDescriptor.IJobParameterPrimitiveType implementation.
Allows to modify all values which are not protected by dynamic change.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHuman-readable description (if any).getLabel()Human-readable label.Parameter class.setDescription(String description) Set description.Set label.
-
Constructor Details
-
JobParameterPrimitiveType
Constructor.- Parameters:
label- labeltypeClass- type class- Throws:
IllegalArgumentException- if label isnullIllegalArgumentException- if typeClass isnull
-
-
Method Details
-
getDescription
Description copied from interface:IJobDescriptor.IJobParameterTypeHuman-readable description (if any).- Specified by:
getDescriptionin interfaceIJobDescriptor.IJobParameterType- Returns:
- description or
null
-
setDescription
Set description.- Parameters:
description- description (can benull)- Returns:
- this
-
getLabel
Description copied from interface:IJobDescriptor.IJobParameterTypeHuman-readable label.- Specified by:
getLabelin interfaceIJobDescriptor.IJobParameterType- Returns:
- label (not
null)
-
setLabel
Set label.- Parameters:
label- label- Returns:
- this
- Throws:
IllegalArgumentException- if label isnull
-
getTypeClass
Description copied from interface:IJobDescriptor.IJobParameterTypeParameter class.Protected from dynamic change.
- Specified by:
getTypeClassin interfaceIJobDescriptor.IJobParameterType- Returns:
- class (not
null)
-