Package com.atlassian.plugins.whitelist
Interface WhitelistRule
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ImmutableWhitelistRule,LegacyWhitelistRule
The essential data of a whitelist rule which is persisted in the database.
- Since:
- 1.0
-
Method Details
-
getId
- Returns:
- the id of the whitelist rule;
nullif not yet persisted
-
getExpression
String getExpression()- Returns:
- an whitelist rule expression; can have a specific meaning depending on the type.
-
getType
WhitelistType getType()- Returns:
- the whitelist rule type
-
isAllowInbound
boolean isAllowInbound()- Returns:
trueif the whitelist rule represents inbound requests as well as outbound requests,falseotherwise
-
isAuthenticationRequired
boolean isAuthenticationRequired()- Returns:
trueif the whitelist rule requires the user to be authenticated,falseotherwise
-