Index

A B C E H I M N O P T W 
All Classes and Interfaces|All Packages

A

applyToCommandBuilder(Command.Builder<C>) - Method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Applies the ConfirmationManager.META_CONFIRMATION_REQUIRED meta key to the given builder.

B

build() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.Builder
build() - Method in interface org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.BuildFinal
builder() - Static method in interface org.incendo.cloud.processors.confirmation.ConfirmationConfiguration
Returns a new configuration builder.
builder() - Static method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Creates a builder for ImmutableConfirmationConfiguration.
bypassConfirmation() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationConfiguration
Returns a predicate that determines whether the CommandContext should bypass the confirmation requirement.
bypassConfirmation() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Returns a predicate that determines whether the CommandContext should bypass the confirmation requirement.
bypassConfirmation(Predicate<CommandContext<C>>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.Builder
Initializes the value for the bypassConfirmation attribute.
bypassConfirmation(Predicate<CommandContext<C>>) - Method in interface org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.BuildFinal
Initializes the value for the bypassConfirmation attribute.

C

cache() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationConfiguration
Returns the cache used to store pending commands.
cache() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Returns the cache used to store pending commands.
cache(CloudCache<C, ConfirmationContext<C>>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.Builder
Initializes the value for the cache attribute.
cache(CloudCache<C, ConfirmationContext<C>>) - Method in interface org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.CacheBuildStage
Initializes the value for the cache attribute.
command() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationContext
Returns the command that requires confirmation.
commandContext() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationContext
Returns the execution context that required confirmation.
configuration() - Method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Returns the configuration for this manager.
Confirmation - Annotation Interface in org.incendo.cloud.processors.confirmation.annotation
Indicates that the command requires confirmation.
ConfirmationBuilderModifier<C> - Class in org.incendo.cloud.processors.confirmation.annotation
Builder modifier that will add the ConfirmationManager.META_CONFIRMATION_REQUIRED meta value to the command builder.
ConfirmationConfiguration<C> - Interface in org.incendo.cloud.processors.confirmation
Configuration for a ConfirmationManager.
ConfirmationContext<C> - Interface in org.incendo.cloud.processors.confirmation
Context that stores information about a pending confirmation.
confirmationManager(Function<ImmutableConfirmationConfiguration.CacheBuildStage<C>, ImmutableConfirmationConfiguration.BuildFinal<C>>) - Static method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Creates a new confirmation manager using the given configuration.
confirmationManager(ConfirmationConfiguration<C>) - Static method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Creates a new confirmation manager using the given configuration.
ConfirmationManager<C> - Class in org.incendo.cloud.processors.confirmation
Manager for the confirmation system.
confirmationRequiredNotifier() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationConfiguration
Returns a consumer that gets invoked when a command requires confirmation.
confirmationRequiredNotifier() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Returns a consumer that gets invoked when a command requires confirmation.
confirmationRequiredNotifier(BiConsumer<C, ConfirmationContext<C>>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.Builder
Initializes the value for the confirmationRequiredNotifier attribute.
confirmationRequiredNotifier(BiConsumer<C, ConfirmationContext<C>>) - Method in interface org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.ConfirmationRequiredNotifierBuildStage
Initializes the value for the confirmationRequiredNotifier attribute.
copyOf(ConfirmationConfiguration<C>) - Static method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Creates an immutable copy of a ConfirmationConfiguration value.
createExecutionHandler() - Method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Returns a CommandExecutionHandler that will execute the pending command for the command sender, or invoke the ConfirmationConfiguration.noPendingCommandNotifier().
createPostprocessor() - Method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Returns a CommandPostprocessor that will prevent commands from executing if they are marked as needing confirmation.
creationTime() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationContext
Returns the time the context was created.

E

equals(Object) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
This instance is equal to all instances of ImmutableConfirmationConfiguration that have equal attribute values.
expiration() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationConfiguration
Returns the time to keep the pending commands for.
expiration() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Returns the time to keep the pending commands for.
expiration(Duration) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.Builder
Initializes the value for the expiration attribute.
expiration(Duration) - Method in interface org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.BuildFinal
Initializes the value for the expiration attribute.

H

hashCode() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Computes a hash code from attributes: cache, noPendingCommandNotifier, confirmationRequiredNotifier, bypassConfirmation, expiration.

I

ImmutableConfirmationConfiguration<C> - Class in org.incendo.cloud.processors.confirmation
Immutable implementation of ConfirmationConfiguration.
ImmutableConfirmationConfiguration.Builder<C> - Class in org.incendo.cloud.processors.confirmation
Builds instances of type ImmutableConfirmationConfiguration.
ImmutableConfirmationConfiguration.BuildFinal<C> - Interface in org.incendo.cloud.processors.confirmation
 
ImmutableConfirmationConfiguration.CacheBuildStage<C> - Interface in org.incendo.cloud.processors.confirmation
 
ImmutableConfirmationConfiguration.ConfirmationRequiredNotifierBuildStage<C> - Interface in org.incendo.cloud.processors.confirmation
 
ImmutableConfirmationConfiguration.NoPendingCommandNotifierBuildStage<C> - Interface in org.incendo.cloud.processors.confirmation
 
install(AnnotationParser<C>) - Static method in class org.incendo.cloud.processors.confirmation.annotation.ConfirmationBuilderModifier
Adds the confirmation builder modifier to the given annotationParser.

M

META_CONFIRMATION_REQUIRED - Static variable in class org.incendo.cloud.processors.confirmation.ConfirmationManager
CommandMeta key that indicates that the command requires a confirmation to be executed.
modifyBuilder(Confirmation, Command.Builder<C>) - Method in class org.incendo.cloud.processors.confirmation.annotation.ConfirmationBuilderModifier
 

N

noPendingCommandNotifier() - Method in interface org.incendo.cloud.processors.confirmation.ConfirmationConfiguration
Returns a consumer that gets invoked when a sender tries to invoke the confirmation handler without having any pending commands.
noPendingCommandNotifier() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Returns a consumer that gets invoked when a sender tries to invoke the confirmation handler without having any pending commands.
noPendingCommandNotifier(Consumer<C>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.Builder
Initializes the value for the noPendingCommandNotifier attribute.
noPendingCommandNotifier(Consumer<C>) - Method in interface org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration.NoPendingCommandNotifierBuildStage
Initializes the value for the noPendingCommandNotifier attribute.

O

of() - Static method in class org.incendo.cloud.processors.confirmation.annotation.ConfirmationBuilderModifier
Creates a new builder modifier that will add the ConfirmationManager.META_CONFIRMATION_REQUIRED meta value to the command builder.
of(Instant, Command<C>, CommandContext<C>) - Static method in interface org.incendo.cloud.processors.confirmation.ConfirmationContext
Creates a new confirmation context.
of(CloudCache<C, ConfirmationContext<C>>, Consumer<C>, BiConsumer<C, ConfirmationContext<C>>, Predicate<CommandContext<C>>, Duration) - Static method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Construct a new immutable ConfirmationConfiguration instance.
org.incendo.cloud.processors.confirmation - package org.incendo.cloud.processors.confirmation
CommandPostprocessor that adds the ability to require commands to be confirmed before being executed.
org.incendo.cloud.processors.confirmation.annotation - package org.incendo.cloud.processors.confirmation.annotation
Utilities for using the confirmation system together with cloud-annotations.

P

popPending(C) - Method in class org.incendo.cloud.processors.confirmation.ConfirmationManager
Removes the ConfirmationContext stored for the given sender and returns it.

T

toString() - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Prints the immutable value ConfirmationConfiguration with attribute values.

W

withBypassConfirmation(Predicate<CommandContext<C>>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Copy the current immutable object by setting a value for the bypassConfirmation attribute.
withCache(CloudCache<C, ConfirmationContext<C>>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Copy the current immutable object by setting a value for the cache attribute.
withConfirmationRequiredNotifier(BiConsumer<C, ConfirmationContext<C>>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Copy the current immutable object by setting a value for the confirmationRequiredNotifier attribute.
withExpiration(Duration) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Copy the current immutable object by setting a value for the expiration attribute.
withNoPendingCommandNotifier(Consumer<C>) - Method in class org.incendo.cloud.processors.confirmation.ImmutableConfirmationConfiguration
Copy the current immutable object by setting a value for the noPendingCommandNotifier attribute.
A B C E H I M N O P T W 
All Classes and Interfaces|All Packages