Package com.atlassian.plugins.whitelist
Class ImmutableWhitelistRule
java.lang.Object
com.atlassian.plugins.whitelist.ImmutableWhitelistRule
- All Implemented Interfaces:
WhitelistRule,Serializable
@Immutable
@PublicApi
public final class ImmutableWhitelistRule
extends Object
implements WhitelistRule, Serializable
- Since:
- 1.0
- See Also:
-
Constructor Details
-
ImmutableWhitelistRule
-
ImmutableWhitelistRule
-
-
Method Details
-
builder
-
getId
- Specified by:
getIdin interfaceWhitelistRule- Returns:
- the id of the whitelist rule;
nullif not yet persisted
-
getExpression
- Specified by:
getExpressionin interfaceWhitelistRule- Returns:
- an whitelist rule expression; can have a specific meaning depending on the type.
-
getType
- Specified by:
getTypein interfaceWhitelistRule- Returns:
- the whitelist rule type
-
isAllowInbound
public boolean isAllowInbound()- Specified by:
isAllowInboundin interfaceWhitelistRule- Returns:
trueif the whitelist rule represents inbound requests as well as outbound requests,falseotherwise
-
isAuthenticationRequired
public boolean isAuthenticationRequired()- Specified by:
isAuthenticationRequiredin interfaceWhitelistRule- Returns:
trueif the whitelist rule requires the user to be authenticated,falseotherwise
-
equals
-
hashCode
public int hashCode() -
toString
-