@PublicApi
public interface WhitelistManager
| Modifier and Type | Method and Description |
|---|---|
WhitelistRule |
add(WhitelistRule whitelistRule)
Add a new whitelist rule.
|
Collection<WhitelistRule> |
addAll(Iterable<WhitelistRule> whitelistRules)
Add the given collection of whitelist rules.
|
WhitelistRule |
get(int id) |
Collection<WhitelistRule> |
getAll() |
void |
remove(WhitelistRule whitelistRule)
Remove the given whitelist rule.
|
void |
removeAll(Iterable<WhitelistRule> whitelistRules)
Remove the given collection of whitelist rules.
|
WhitelistRule |
update(WhitelistRule whitelistRule)
Update a given whitelist rule.
|
WhitelistRule add(WhitelistRule whitelistRule)
WhitelistRuleAddedEvent after
the modification has been finished.whitelistRule - the whitelist rule to be addedCollection<WhitelistRule> addAll(Iterable<WhitelistRule> whitelistRules)
WhitelistRuleAddedEvent
for each rule which was added after all rules have been processed.whitelistRules - the collection of whitelist rules to be addedWhitelistRule update(WhitelistRule whitelistRule)
WhitelistRuleChangedEvent
after the modification has been finished.whitelistRule - the updated information to be used with the whitelist rulevoid remove(WhitelistRule whitelistRule)
WhitelistRuleRemovedEvent
after the modification has been finished.whitelistRule - the whitelistRule to be removedvoid removeAll(Iterable<WhitelistRule> whitelistRules)
WhitelistRuleRemovedEvent
for each rule that was removed after all rules have been processed.whitelistRules - the collection of whitelist rules to be removedCollection<WhitelistRule> getAll()
@Nullable WhitelistRule get(int id)
id - the id of the whitelist rulenull if not foundCopyright © 2023 Atlassian. All Rights Reserved.