Class RemoveWebResourceRule
java.lang.Object
com.foreach.across.modules.web.resource.rules.RemoveWebResourceRule
- All Implemented Interfaces:
WebResourceRule
A rule which specifies that a
WebResourceReference
with a specific key must be removed from the WebResourceRegistry
If a bucket is specified, only remove the item with this key from the specified bucket. If no bucket is specified, remove the item with this key from all buckets.
- Since:
- 3.2.0
- Author:
- Marc Vanbrabant
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(@NonNull WebResourceRegistry webResourceRegistry) fromBucket
(@NonNull String bucket)
-
Constructor Details
-
RemoveWebResourceRule
public RemoveWebResourceRule()
-
-
Method Details
-
withKey
-
fromBucket
-
applyTo
- Specified by:
applyTo
in interfaceWebResourceRule
-