@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ResourceBlacklistRequest extends Object
ResourceBlacklistRequest
encapsulates the list of resource-names
which should be added or removed from the blacklist of resources
for the application.Constructor and Description |
---|
ResourceBlacklistRequest() |
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
getBlacklistAdditions()
Get the list of resource-names which should be added to the
application blacklist.
|
abstract List<String> |
getBlacklistRemovals()
Get the list of resource-names which should be removed from the
application blacklist.
|
static ResourceBlacklistRequest |
newInstance(List<String> additions,
List<String> removals) |
abstract void |
setBlacklistAdditions(List<String> resourceNames)
Set list of resource-names which should be added to the application blacklist.
|
abstract void |
setBlacklistRemovals(List<String> resourceNames)
Set list of resource-names which should be removed from the
application blacklist.
|
@InterfaceAudience.Public @InterfaceStability.Stable public static ResourceBlacklistRequest newInstance(List<String> additions, List<String> removals)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<String> getBlacklistAdditions()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setBlacklistAdditions(List<String> resourceNames)
resourceNames
- list of resource-names which should be added to the
application blacklist@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<String> getBlacklistRemovals()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setBlacklistRemovals(List<String> resourceNames)
resourceNames
- list of resource-names which should be removed from the
application blacklistCopyright © 2023 Apache Software Foundation. All rights reserved.