Class GroupFieldRestrictionBuilder
java.lang.Object
com.deiser.jira.profields.api.field.restriction.GroupFieldRestrictionBuilder
- All Implemented Interfaces:
FieldRestrictionTypeBuilder
The type Group field restriction builder.
-
Method Summary
Modifier and TypeMethodDescriptionaddEditor
(com.atlassian.crowd.embedded.api.Group group) Add editor group restriction.addViewer
(com.atlassian.crowd.embedded.api.Group group) Add viewer group restriction.Complete the specific creation for any type of field restriction builderList<com.atlassian.crowd.embedded.api.Group>
Gets editors.List<com.atlassian.crowd.embedded.api.Group>
Gets viewers.Remove editors restrictionRemove viewers restriction
-
Method Details
-
addEditor
Add editor group restriction. Only will be checked one group- Parameters:
group
- the group- Returns:
- the group field restriction builder
-
addViewer
Add viewer group restriction. Only will be checked one group- Parameters:
group
- the group- Returns:
- the group field restriction builder
-
removeEditors
Remove editors restriction- Returns:
- the group field restriction builder
-
removeViewers
Remove viewers restriction- Returns:
- the group field restriction builder
-
getEditors
Gets editors.- Returns:
- the editors
-
getViewers
Gets viewers.- Returns:
- the viewers
-
completed
Complete the specific creation for any type of field restriction builder- Specified by:
completed
in interfaceFieldRestrictionTypeBuilder
- Returns:
- the field restriction builder
-