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 isnull
IllegalArgumentException
- if typeClass isnull
-
-
Method Details
-
getDescription
Description copied from interface:IJobDescriptor.IJobParameterType
Human-readable description (if any).- Specified by:
getDescription
in interfaceIJobDescriptor.IJobParameterType
- Returns:
- description or
null
-
setDescription
Set description.- Parameters:
description
- description (can benull
)- Returns:
- this
-
getLabel
Description copied from interface:IJobDescriptor.IJobParameterType
Human-readable label.- Specified by:
getLabel
in 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.IJobParameterType
Parameter class.Protected from dynamic change.
- Specified by:
getTypeClass
in interfaceIJobDescriptor.IJobParameterType
- Returns:
- class (not
null
)
-