Uses of Interface
com.adobe.acs.commons.functions.CheckedBiConsumer
Packages that use CheckedBiConsumer
Package
Description
Miscellaneous Utilities.
-
Uses of CheckedBiConsumer in com.adobe.acs.commons.fam
Methods in com.adobe.acs.commons.fam with parameters of type CheckedBiConsumerModifier and TypeMethodDescriptionvoidActionManager.onFailure(CheckedBiConsumer<List<Failure>, org.apache.sling.api.resource.ResourceResolver> failureTask) Register a handler to be fired when the work has completed and there was at least one error.intActionManager.withQueryResults(String queryStatement, String language, CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver, String> callback, CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver, String, Boolean>... filters) Schedule an activity to occur for every node found by a given query. -
Uses of CheckedBiConsumer in com.adobe.acs.commons.fam.actions
Fields in com.adobe.acs.commons.fam.actions declared as CheckedBiConsumerModifier and TypeFieldDescriptionstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> AssetActions.REMOVE_ALL_RENDITIONSRemove all renditions except for the original rendition for assetsMethods in com.adobe.acs.commons.fam.actions that return CheckedBiConsumerModifier and TypeMethodDescriptionstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> ReplicationActions.activateAll(com.day.cq.replication.Replicator replicator) Activate all nodes using default replicatorsstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> ReplicationActions.activateAllWithOptions(com.day.cq.replication.Replicator replicator, com.day.cq.replication.ReplicationOptions options) Activate all nodes using provided options NOTE: If using large batch publishing it is highly recommended to set synchronous to true on the replication optionsstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> ReplicationActions.activateAllWithRoundRobin(com.day.cq.replication.Replicator replicator, com.day.cq.replication.ReplicationOptions... options) Activate all nodes using provided options NOTE: If using large batch publishing it is highly recommended to set synchronous to true on the replication optionsstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> ReplicationActions.deactivateAll(com.day.cq.replication.Replicator replicator) Deactivate all nodes using default replicatorsstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> ReplicationActions.deactivateAllWithOptions(com.day.cq.replication.Replicator replicator, com.day.cq.replication.ReplicationOptions options) Deactivate all nodes using provided optionsstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> AssetActions.removeAllRenditionsNamed(String name) Remove all renditions with a given namestatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> Actions.retryAll(int retries, long pausePerRetry, CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver, String> action) Retry provided action a given number of times before giving up and throwing an error.static final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> Actions.startSyntheticWorkflows(SyntheticWorkflowModel model, SyntheticWorkflowRunner workflowRunner) Run nodes through synthetic workflowstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> AssetActions.withAllRenditions(CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver, String> action, CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver, String, Boolean>... filters) Methods in com.adobe.acs.commons.fam.actions with parameters of type CheckedBiConsumerModifier and TypeMethodDescriptionstatic final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> Actions.retryAll(int retries, long pausePerRetry, CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver, String> action) Retry provided action a given number of times before giving up and throwing an error.static final CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> AssetActions.withAllRenditions(CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver, String> action, CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver, String, Boolean>... filters) -
Uses of CheckedBiConsumer in com.adobe.acs.commons.functions
Methods in com.adobe.acs.commons.functions that return CheckedBiConsumerModifier and TypeMethodDescriptiondefault CheckedBiConsumer<T,U> CheckedBiConsumer.andThen(CheckedBiConsumer<? super T, ? super U> after) Returns a composedBiConsumerthat performs, in sequence, this operation followed by theafteroperation.static <T,U> CheckedBiConsumer<T, U> CheckedBiConsumer.from(BiConsumer<T, U> handler) Methods in com.adobe.acs.commons.functions with parameters of type CheckedBiConsumerModifier and TypeMethodDescriptiondefault CheckedBiConsumer<T,U> CheckedBiConsumer.andThen(CheckedBiConsumer<? super T, ? super U> after) Returns a composedBiConsumerthat performs, in sequence, this operation followed by theafteroperation. -
Uses of CheckedBiConsumer in com.adobe.acs.commons.util.visitors
Methods in com.adobe.acs.commons.util.visitors with parameters of type CheckedBiConsumerModifier and TypeMethodDescriptionfinal voidSimpleFilteringResourceVisitor.setLeafVisitorChecked(CheckedBiConsumer<org.apache.sling.api.resource.Resource, Integer> handler) final voidSimpleFilteringResourceVisitor.setPropertyVisitorChecked(CheckedBiConsumer<Map.Entry<String, Object>, Integer> handler) final voidSimpleFilteringResourceVisitor.setResourceVisitorChecked(CheckedBiConsumer<org.apache.sling.api.resource.Resource, Integer> handler)