@Immutable @PublicApi public final class LegacyWhitelistRule extends Object implements WhitelistRule
| Constructor and Description |
|---|
LegacyWhitelistRule(String acceptRule) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression() |
Integer |
getId() |
WhitelistType |
getType() |
boolean |
isAllowInbound() |
boolean |
isAuthenticationRequired() |
String |
toString() |
public LegacyWhitelistRule(String acceptRule)
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.