Interface FieldsParameter.Builder
- All Superinterfaces:
FieldsParameter.Setter
,RichPageParameter.Builder<FieldsParameter,
FieldsParameter.Builder>
- Enclosing interface:
- FieldsParameter
public static interface FieldsParameter.Builder
extends FieldsParameter.Setter, RichPageParameter.Builder<FieldsParameter,FieldsParameter.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionallowedFields
(Iterable<String> fields) Used to select allowed field ids.disallowedFields
(Iterable<String> fields) Used to select allowed field ids.Clears the subtype set bysubtype(String)
, so this method must be used before usingsubtype(String)
.scope()
Not using this method means to use the current scope.Used to select one of available structure types.Must be used afterprototype()
otherwise the value is lost.Methods inherited from interface com.polarion.alm.shared.api.model.rp.parameter.RichPageParameter.Builder
build, dependencySource, dependencyTarget
-
Method Details
-
scope
Not using this method means to use the current scope.- Specified by:
scope
in interfaceFieldsParameter.Setter
- Since:
- 3.9.3
-
prototype
Clears the subtype set bysubtype(String)
, so this method must be used before usingsubtype(String)
. Also clears the structure type selected using selector returned bystructure()
method.- Specified by:
prototype
in interfaceFieldsParameter.Setter
- Since:
- 3.9.3
-
structure
Used to select one of available structure types. After invoking this method values set by methodsprototype()
andsubtype(String)
will be ignored.- Specified by:
structure
in interfaceFieldsParameter.Setter
- Since:
- 3.10.0
- See Also:
-
subtype
Must be used afterprototype()
otherwise the value is lost.- Specified by:
subtype
in interfaceFieldsParameter.Setter
- Since:
- 3.9.3
-
allowedFields
Used to select allowed field ids. Can be used in combination with other methods. Using this method in combination withdisallowedFields(Iterable)
will reset disallowed field ids collection.- Specified by:
allowedFields
in interfaceFieldsParameter.Setter
- Parameters:
fields
- collection of not null field ids. Fields that are not in this collection will be excluded from available fields gotten by applyingscope()
,prototype()
,subtype(String)
andstructure()
methods. If set to null all available fields are allowed.- Since:
- 3.10.0
-
disallowedFields
Used to select allowed field ids. Can be used in combination with other methods. Using this method in combination withallowedFields(Iterable)
will reset allowed field ids collection.- Specified by:
disallowedFields
in interfaceFieldsParameter.Setter
- Parameters:
fields
- collection of not null field ids. Fields in this collection will be excluded from available fields gotten by applyingscope()
,prototype()
,subtype(String)
andstructure()
methods. If set to null or empty all available fields are allowed.- Since:
- 3.10.0
-
fields
- Specified by:
fields
in interfaceFieldsParameter.Setter
-