Class ProjectRoleFieldRestrictionBuilder
java.lang.Object
com.deiser.jira.profields.api.field.restriction.ProjectRoleFieldRestrictionBuilder
- All Implemented Interfaces:
- FieldRestrictionTypeBuilder
public class ProjectRoleFieldRestrictionBuilder
extends Object
implements FieldRestrictionTypeBuilder
The type Project role field restriction builder.
- 
Method SummaryModifier and TypeMethodDescriptionaddEditor(com.atlassian.jira.security.roles.ProjectRole projectRole) Add editor project role restriction.addViewer(com.atlassian.jira.security.roles.ProjectRole projectRole) Add viewer project role restriction.Complete the specific creation for any type of field restriction builderList<com.atlassian.jira.security.roles.ProjectRole>Gets editors.List<com.atlassian.jira.security.roles.ProjectRole>Gets viewers.Remove editors project role restriction.Remove viewers project role restriction.
- 
Method Details- 
addEditorpublic ProjectRoleFieldRestrictionBuilder addEditor(com.atlassian.jira.security.roles.ProjectRole projectRole) Add editor project role restriction. Only will be checked one project role- Parameters:
- projectRole- the project role
- Returns:
- the project role field restriction builder
 
- 
addViewerpublic ProjectRoleFieldRestrictionBuilder addViewer(com.atlassian.jira.security.roles.ProjectRole projectRole) Add viewer project role restriction. Only will be checked one project role- Parameters:
- projectRole- the project role
- Returns:
- the project role field restriction builder
 
- 
removeEditorsRemove editors project role restriction.- Returns:
- the project role field restriction builder
 
- 
removeViewersRemove viewers project role restriction.- Returns:
- the project role field restriction builder
 
- 
getEditorsGets editors.- Returns:
- the editors
 
- 
getViewersGets viewers.- Returns:
- the viewers
 
- 
completedComplete the specific creation for any type of field restriction builder- Specified by:
- completedin interface- FieldRestrictionTypeBuilder
- Returns:
- the field restriction builder
 
 
-