Package com.polarion.platform.jobs
Interface IJobDescriptor.IJobParameterStructureType
- All Superinterfaces:
IJobDescriptor.IJobParameterType
- Enclosing interface:
- IJobDescriptor
public static interface IJobDescriptor.IJobParameterStructureType
extends IJobDescriptor.IJobParameterType
Structure type (map).
Note that value of list type does not necessarily implement Map.
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptioncreateStructure(Map items) Create structure value based on map of items.Item names and types.Item type of unknown items (those not mentioned ingetItemTypes()).Methods inherited from interface com.polarion.platform.jobs.IJobDescriptor.IJobParameterType
getDescription, getLabel, getTypeClass
-
Method Details
-
getItemTypes
Map getItemTypes()Item names and types.Protected from dynamic change.
- Returns:
MapbetweenStringitem name andIJobDescriptor.IJobParameterType(notnull)
-
getUnknownItemType
IJobDescriptor.IJobParameterType getUnknownItemType()Item type of unknown items (those not mentioned ingetItemTypes()).Protected from dynamic change.
- Returns:
- type or
nullif unknown items are forbidden
-
createStructure
Create structure value based on map of items.- Parameters:
items-MapbetweenStringitem name and value- Returns:
- object representing structure composed of given items (can be
null) - Throws:
IllegalArgumentException- if items isnull
-