@Immutable @PublicApi public final class ImmutableWhitelistRule extends Object implements WhitelistRule, Serializable
| Constructor and Description |
|---|
ImmutableWhitelistRule(ImmutableWhitelistRuleBuilder builder) |
ImmutableWhitelistRule(WhitelistRule copy) |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableWhitelistRuleBuilder |
builder() |
boolean |
equals(Object o) |
String |
getExpression() |
Integer |
getId() |
WhitelistType |
getType() |
int |
hashCode() |
boolean |
isAllowInbound() |
boolean |
isAuthenticationRequired() |
String |
toString() |
public ImmutableWhitelistRule(ImmutableWhitelistRuleBuilder builder)
public ImmutableWhitelistRule(WhitelistRule copy)
public static ImmutableWhitelistRuleBuilder builder()
public Integer getId()
getId in interface WhitelistRulenull if not yet persistedpublic String getExpression()
getExpression in interface WhitelistRulepublic WhitelistType getType()
getType in interface WhitelistRulepublic boolean isAllowInbound()
isAllowInbound in interface WhitelistRuletrue if the whitelist rule represents inbound requests as well as outbound requests, false otherwisepublic boolean isAuthenticationRequired()
isAuthenticationRequired in interface WhitelistRuletrue if the whitelist rule requires the user to be authenticated, false otherwiseCopyright © 2023 Atlassian. All Rights Reserved.