public abstract class ApprovalWhitelist extends Object
Constructor and Description |
---|
ApprovalWhitelist() |
Modifier and Type | Method and Description |
---|---|
static ApprovalWhitelist |
fromResourceLocator(ResourceLocator resourceLocator)
Construct an instance using a
ResourceLocator to source the whitelist URL. |
boolean |
isAutomaticallyApproved(String uri) |
public boolean isAutomaticallyApproved(String uri)
public static ApprovalWhitelist fromResourceLocator(ResourceLocator resourceLocator) throws IOException
ResourceLocator
to source the whitelist URL.
If the resource is missing, the whitelist will be empty.
If it refers to a local file, that file will be polled for changes.
Otherwise, it will be read once and used.IOException
Copyright © 2021 Atlassian. All rights reserved.