Index
All Classes and Interfaces|All Packages
A
- AbstractCooldownRepository() - Constructor for class org.incendo.cloud.processors.cooldown.CooldownRepository.AbstractCooldownRepository
- activeCooldownListeners() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns the active cooldown listeners.
- activeCooldownListeners() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns the active cooldown listeners.
- addActiveCooldownListener(CooldownActiveListener<C>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Adds one element to
activeCooldownListenerslist. - addActiveCooldownListener(CooldownActiveListener<C>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Adds one element to
activeCooldownListenerslist. - addActiveCooldownListeners(CooldownActiveListener<C>...) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Adds elements to
activeCooldownListenerslist. - addActiveCooldownListeners(CooldownActiveListener<C>...) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Adds elements to
activeCooldownListenerslist. - addAllActiveCooldownListeners(Iterable<? extends CooldownActiveListener<C>>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Adds elements to
activeCooldownListenerslist. - addAllActiveCooldownListeners(Iterable<? extends CooldownActiveListener<C>>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Adds elements to
activeCooldownListenerslist. - addAllCreationListeners(Iterable<? extends CooldownCreationListener<C>>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Adds elements to
creationListenerslist. - addAllCreationListeners(Iterable<? extends CooldownCreationListener<C>>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Adds elements to
creationListenerslist. - addCreationListener(CooldownCreationListener<C>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Adds one element to
creationListenerslist. - addCreationListener(CooldownCreationListener<C>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Adds one element to
creationListenerslist. - addCreationListeners(CooldownCreationListener<C>...) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Adds elements to
creationListenerslist. - addCreationListeners(CooldownCreationListener<C>...) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Adds elements to
creationListenerslist. - applyToCommandBuilder(Command.Builder<C>) - Method in interface org.incendo.cloud.processors.cooldown.Cooldown
B
- build() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown.Builder
-
Builds a new
ImmutableCooldown. - build() - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldown.BuildFinal
-
Builds a new
ImmutableCooldown. - build() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Builds a new
ImmutableCooldownConfiguration. - build() - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Builds a new
ImmutableCooldownConfiguration. - build() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.Builder
-
Builds a new
ImmutableCooldownInstance. - build() - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.BuildFinal
-
Builds a new
ImmutableCooldownInstance. - builder() - Static method in interface org.incendo.cloud.processors.cooldown.Cooldown
-
Returns a new cooldown builder.
- builder() - Static method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns a new configuration builder.
- builder() - Static method in interface org.incendo.cloud.processors.cooldown.CooldownInstance
-
Returns a new cooldown instance builder.
- builder() - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Creates a builder for
ImmutableCooldown. - builder() - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Creates a builder for
ImmutableCooldownConfiguration. - builder() - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Creates a builder for
ImmutableCooldownInstance. - bypassCooldown() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns a predicate that determines whether the
CommandContextshould bypass the cooldown requirement. - bypassCooldown() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns a predicate that determines whether the
CommandContextshould bypass the cooldown requirement. - bypassCooldown(Predicate<CommandContext<C>>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Initializes the value for the
bypassCooldownattribute. - bypassCooldown(Predicate<CommandContext<C>>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Initializes the value for the
bypassCooldownattribute.
C
- clock() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns the clock used to calculate the current time.
- clock() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns the clock used to calculate the current time.
- clock(Clock) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Initializes the value for the
clockattribute. - clock(Clock) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Initializes the value for the
clockattribute. - command(Command<?>) - Static method in interface org.incendo.cloud.processors.cooldown.CooldownGroup
-
Creates a new cooldown group that is unique to the given
command. - configuration() - Method in class org.incendo.cloud.processors.cooldown.CooldownManager
-
Returns the configuration for this manager.
- constant(Duration) - Static method in interface org.incendo.cloud.processors.cooldown.DurationFunction
-
Creates a new duration function that always returns
duration. - Cooldown<C> - Interface in org.incendo.cloud.processors.cooldown
-
An instance of a cooldown for a
CooldownGroupbelonging to a command sender. - Cooldown - Annotation Interface in org.incendo.cloud.processors.cooldown.annotation
-
Adds a cooldown to the command.
- cooldownActive(C, Command<C>, CooldownInstance, Duration) - Method in interface org.incendo.cloud.processors.cooldown.listener.CooldownActiveListener
-
Invoked when a cooldown is preventing the
senderfrom executing a command. - CooldownActiveListener<C> - Interface in org.incendo.cloud.processors.cooldown.listener
-
Notifies command senders that they have an active cooldown.
- CooldownBuilderModifier<C> - Class in org.incendo.cloud.processors.cooldown.annotation
-
Builder modifier that will add the cooldown metadata to the command builder.
- CooldownConfiguration<C> - Interface in org.incendo.cloud.processors.cooldown
-
Configuration for a
CooldownManager. - cooldownCreated(C, Command<C>, CooldownInstance) - Method in interface org.incendo.cloud.processors.cooldown.listener.CooldownCreationListener
-
Invoked when a new cooldown is created.
- cooldownCreated(C, Command<C>, CooldownInstance) - Method in class org.incendo.cloud.processors.cooldown.listener.ScheduledCleanupCreationListener
- CooldownCreationListener<C> - Interface in org.incendo.cloud.processors.cooldown.listener
-
Listener that gets invoked when a new cooldown is created.
- CooldownGroup - Interface in org.incendo.cloud.processors.cooldown
-
Groups cooldown together.
- CooldownGroup.CommandCooldownGroup - Class in org.incendo.cloud.processors.cooldown
- CooldownGroup.NamedCooldownGroup - Class in org.incendo.cloud.processors.cooldown
- CooldownInstance - Interface in org.incendo.cloud.processors.cooldown
-
An instance of a
Cooldown. - cooldownManager(Function<ImmutableCooldownConfiguration.RepositoryBuildStage<C>, ImmutableCooldownConfiguration.BuildFinal<C>>) - Static method in class org.incendo.cloud.processors.cooldown.CooldownManager
-
Creates a new cooldown manager using the given
configuration. - cooldownManager(CooldownConfiguration<C>) - Static method in class org.incendo.cloud.processors.cooldown.CooldownManager
-
Creates a new cooldown manager using the given
configuration. - CooldownManager<C> - Class in org.incendo.cloud.processors.cooldown
-
Manager for the cooldown system.
- CooldownProfile - Interface in org.incendo.cloud.processors.cooldown.profile
- CooldownProfileFactory - Interface in org.incendo.cloud.processors.cooldown.profile
-
Factory that creates cooldown profiles.
- CooldownRepository<K> - Interface in org.incendo.cloud.processors.cooldown
-
Repository that stores
cooldown profilesidentifies by keys of typeCooldownRepository. - CooldownRepository.AbstractCooldownRepository<K> - Class in org.incendo.cloud.processors.cooldown
- CooldownRepository.CacheCooldownRepository<K> - Class in org.incendo.cloud.processors.cooldown
- CooldownRepository.MapCooldownRepository<K> - Class in org.incendo.cloud.processors.cooldown
- CooldownRepository.MappingCooldownRepository<C,
K> - Class in org.incendo.cloud.processors.cooldown - copyOf(Cooldown<C>) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Creates an immutable copy of a
Cooldownvalue. - copyOf(CooldownConfiguration<C>) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Creates an immutable copy of a
CooldownConfigurationvalue. - copyOf(CooldownInstance) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Creates an immutable copy of a
CooldownInstancevalue. - create() - Method in interface org.incendo.cloud.processors.cooldown.profile.CooldownProfileFactory
-
Creates a new cooldown profile.
- create() - Method in class org.incendo.cloud.processors.cooldown.profile.StandardCooldownProfileFactory
- createPostprocessor() - Method in class org.incendo.cloud.processors.cooldown.CooldownManager
-
Returns a
CommandPostprocessorthat will prevent commands from executing if they are marked as needing confirmation. - creationListeners() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns the creation listeners.
- creationListeners() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns the creation listeners.
- creationTime() - Method in interface org.incendo.cloud.processors.cooldown.CooldownInstance
-
Returns the creation time.
- creationTime() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Returns the creation time.
- creationTime(Instant) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.Builder
-
Initializes the value for the
creationTimeattribute. - creationTime(Instant) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.CreationTimeBuildStage
-
Initializes the value for the
creationTimeattribute.
D
- deleteCooldown(C, CooldownGroup) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MappingCooldownRepository
- deleteCooldown(K, CooldownGroup) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.AbstractCooldownRepository
- deleteCooldown(K, CooldownGroup) - Method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Deletes the cooldown identified by the given
keybelonging to the givengroup. - deleteCooldown(CooldownGroup) - Method in interface org.incendo.cloud.processors.cooldown.profile.CooldownProfile
-
Deletes the cooldown for the given
group, if it exists. - deleteProfile(C) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MappingCooldownRepository
- deleteProfile(K) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.CacheCooldownRepository
- deleteProfile(K) - Method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Deletes the profile identified by the given
key. - deleteProfile(K) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MapCooldownRepository
- duration() - Element in annotation interface org.incendo.cloud.processors.cooldown.annotation.Cooldown
-
Returns the duration.
- duration() - Method in interface org.incendo.cloud.processors.cooldown.Cooldown
-
Returns the cooldown duration.
- duration() - Method in interface org.incendo.cloud.processors.cooldown.CooldownInstance
-
Returns the cooldown duration.
- duration() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Returns the cooldown duration.
- duration() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Returns the cooldown duration.
- duration(Duration) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.Builder
-
Initializes the value for the
durationattribute. - duration(Duration) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.DurationBuildStage
-
Initializes the value for the
durationattribute. - duration(DurationFunction<C>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown.Builder
-
Initializes the value for the
durationattribute. - duration(DurationFunction<C>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldown.DurationBuildStage
-
Initializes the value for the
durationattribute. - DurationFunction<C> - Interface in org.incendo.cloud.processors.cooldown
-
A function that generates a duration from a command context.
E
- equals(Object) - Method in class org.incendo.cloud.processors.cooldown.CooldownGroup.CommandCooldownGroup
- equals(Object) - Method in class org.incendo.cloud.processors.cooldown.CooldownGroup.NamedCooldownGroup
- equals(Object) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
This instance is equal to all instances of
ImmutableCooldownthat have equal attribute values. - equals(Object) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
This instance is equal to all instances of
ImmutableCooldownConfigurationthat have equal attribute values. - equals(Object) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
This instance is equal to all instances of
ImmutableCooldownInstancethat have equal attribute values.
F
- fallbackGroup() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns the function that determines the fallback
CooldownGroupin case no group has been provided to theCooldown. - fallbackGroup() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns the function that determines the fallback
CooldownGroupin case no group has been provided to theCooldown. - fallbackGroup(Function<Command<C>, CooldownGroup>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Initializes the value for the
fallbackGroupattribute. - fallbackGroup(Function<Command<C>, CooldownGroup>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Initializes the value for the
fallbackGroupattribute. - forCache(CloudCache<K, CooldownProfile>) - Static method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Returns a new repository backed by the given
cache. - forMap(Map<K, CooldownProfile>) - Static method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Returns a new repository backed by the given
map.
G
- getCooldown(CooldownGroup) - Method in interface org.incendo.cloud.processors.cooldown.profile.CooldownProfile
-
Returns the cooldown for the given
groupif it exists and it's active. - getDuration(CommandContext<C>) - Method in interface org.incendo.cloud.processors.cooldown.DurationFunction
-
Returns the duration for the given
context. - getProfile(C, CooldownProfileFactory) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MappingCooldownRepository
- getProfile(K, CooldownProfileFactory) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.CacheCooldownRepository
- getProfile(K, CooldownProfileFactory) - Method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Returns the profile for the given
key. - getProfile(K, CooldownProfileFactory) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MapCooldownRepository
- getProfileIfExists(C) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MappingCooldownRepository
- getProfileIfExists(K) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.CacheCooldownRepository
- getProfileIfExists(K) - Method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Returns the profile for the given
key, if it exists. - getProfileIfExists(K) - Method in class org.incendo.cloud.processors.cooldown.CooldownRepository.MapCooldownRepository
- group() - Element in annotation interface org.incendo.cloud.processors.cooldown.annotation.Cooldown
-
Returns the cooldown group.
- group() - Method in interface org.incendo.cloud.processors.cooldown.Cooldown
-
Returns the group that this instance belongs to.
- group() - Method in interface org.incendo.cloud.processors.cooldown.CooldownInstance
-
Returns the cooldown group.
- group() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Returns the group that this instance belongs to.
- group() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Returns the cooldown group.
- group(CooldownGroup) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.Builder
-
Initializes the value for the
groupattribute. - group(CooldownGroup) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.GroupBuildStage
-
Initializes the value for the
groupattribute. - group(CooldownGroup) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown.Builder
-
Initializes the value for the
groupattribute. - group(CooldownGroup) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldown.BuildFinal
-
Initializes the value for the
groupattribute.
H
- hashCode() - Method in class org.incendo.cloud.processors.cooldown.CooldownGroup.CommandCooldownGroup
- hashCode() - Method in class org.incendo.cloud.processors.cooldown.CooldownGroup.NamedCooldownGroup
- hashCode() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Computes a hash code from attributes:
duration,group. - hashCode() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Computes a hash code from attributes:
repository,activeCooldownListeners,creationListeners,bypassCooldown,clock,profileFactory,fallbackGroup. - hashCode() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Computes a hash code from attributes:
profile,group,duration,creationTime.
I
- ImmutableCooldown<C> - Class in org.incendo.cloud.processors.cooldown
-
Immutable implementation of
Cooldown. - ImmutableCooldown.Builder<C> - Class in org.incendo.cloud.processors.cooldown
-
Builds instances of type
ImmutableCooldown. - ImmutableCooldown.BuildFinal<C> - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldown.DurationBuildStage<C> - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownConfiguration<C> - Class in org.incendo.cloud.processors.cooldown
-
Immutable implementation of
CooldownConfiguration. - ImmutableCooldownConfiguration.Builder<C> - Class in org.incendo.cloud.processors.cooldown
-
Builds instances of type
ImmutableCooldownConfiguration. - ImmutableCooldownConfiguration.BuildFinal<C> - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownConfiguration.RepositoryBuildStage<C> - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownInstance - Class in org.incendo.cloud.processors.cooldown
-
Immutable implementation of
CooldownInstance. - ImmutableCooldownInstance.Builder - Class in org.incendo.cloud.processors.cooldown
-
Builds instances of type
ImmutableCooldownInstance. - ImmutableCooldownInstance.BuildFinal - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownInstance.CreationTimeBuildStage - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownInstance.DurationBuildStage - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownInstance.GroupBuildStage - Interface in org.incendo.cloud.processors.cooldown
- ImmutableCooldownInstance.ProfileBuildStage - Interface in org.incendo.cloud.processors.cooldown
- install(AnnotationParser<C>) - Static method in class org.incendo.cloud.processors.cooldown.annotation.CooldownBuilderModifier
-
Adds the cooldown builder modifier to the given
annotationParser. - isEmpty() - Method in interface org.incendo.cloud.processors.cooldown.profile.CooldownProfile
-
Returns whether the profile is empty.
M
- mapping(Function<C, K>, CooldownRepository<K>) - Static method in interface org.incendo.cloud.processors.cooldown.CooldownRepository
-
Returns a new repository backed by the given
otherRepositorythat maps requests for keys of typeCooldownRepositoryto typeCooldownRepositoryusing the givenmappingFunction. - META_COOLDOWN_DURATION - Static variable in class org.incendo.cloud.processors.cooldown.CooldownManager
-
Meta that adds the given cooldown to the command.
- modifyBuilder(Cooldown, Command.Builder<C>) - Method in class org.incendo.cloud.processors.cooldown.annotation.CooldownBuilderModifier
N
- named(String) - Static method in interface org.incendo.cloud.processors.cooldown.CooldownGroup
-
Creates a new cooldown group identified by the given
name.
O
- of() - Static method in class org.incendo.cloud.processors.cooldown.annotation.CooldownBuilderModifier
-
Creates a new builder modifier that will add the cooldown metadata to the command builder.
- of(CooldownRepository<C>, List<CooldownActiveListener<C>>, List<CooldownCreationListener<C>>, Predicate<CommandContext<C>>, Clock, CooldownProfileFactory, Function<Command<C>, CooldownGroup>) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Construct a new immutable
CooldownConfigurationinstance. - of(CooldownRepository<C>, Iterable<? extends CooldownActiveListener<C>>, Iterable<? extends CooldownCreationListener<C>>, Predicate<CommandContext<C>>, Clock, CooldownProfileFactory, Function<Command<C>, CooldownGroup>) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Construct a new immutable
CooldownConfigurationinstance. - of(DurationFunction<C>) - Static method in interface org.incendo.cloud.processors.cooldown.Cooldown
-
Returns a new cooldown with the given
durationusingCooldownConfiguration.fallbackGroup()as the group. - of(DurationFunction<C>, CooldownGroup) - Static method in interface org.incendo.cloud.processors.cooldown.Cooldown
-
Returns a new cooldown with the given
durationandgroup. - of(DurationFunction<C>, CooldownGroup) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Construct a new immutable
Cooldowninstance. - of(CooldownProfile, CooldownGroup, Duration, Instant) - Static method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Construct a new immutable
CooldownInstanceinstance. - org.incendo.cloud.processors.cooldown - package org.incendo.cloud.processors.cooldown
-
CommandPostprocessorthat adds command cooldowns. - org.incendo.cloud.processors.cooldown.annotation - package org.incendo.cloud.processors.cooldown.annotation
-
Utilities for using the cooldown system together with cloud-annotations.
- org.incendo.cloud.processors.cooldown.listener - package org.incendo.cloud.processors.cooldown.listener
-
Listeners for cooldown events.
- org.incendo.cloud.processors.cooldown.profile - package org.incendo.cloud.processors.cooldown.profile
-
Cooldown profiles stores per-sender cooldowns.
P
- profile() - Method in interface org.incendo.cloud.processors.cooldown.CooldownInstance
-
Returns the profile that owns the cooldown.
- profile() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Returns the profile that owns the cooldown.
- profile(CooldownProfile) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.Builder
-
Initializes the value for the
profileattribute. - profile(CooldownProfile) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance.ProfileBuildStage
-
Initializes the value for the
profileattribute. - profileFactory() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns the factory that produces cooldown profiles.
- profileFactory() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns the factory that produces cooldown profiles.
- profileFactory(CooldownProfileFactory) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Initializes the value for the
profileFactoryattribute. - profileFactory(CooldownProfileFactory) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.BuildFinal
-
Initializes the value for the
profileFactoryattribute.
R
- repository() - Method in interface org.incendo.cloud.processors.cooldown.CooldownConfiguration
-
Returns the repository used to store cooldowns.
- repository() - Method in class org.incendo.cloud.processors.cooldown.CooldownManager
-
Returns the cooldown repository.
- repository() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Returns the repository used to store cooldowns.
- repository(CooldownRepository<C>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.Builder
-
Initializes the value for the
repositoryattribute. - repository(CooldownRepository<C>) - Method in interface org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration.RepositoryBuildStage
-
Initializes the value for the
repositoryattribute.
S
- ScheduledCleanupCreationListener<C> - Class in org.incendo.cloud.processors.cooldown.listener
-
Cooldown creation listener that schedules a task to clean up the cooldown after it expires.
- ScheduledCleanupCreationListener(ScheduledExecutorService, CooldownRepository<C>) - Constructor for class org.incendo.cloud.processors.cooldown.listener.ScheduledCleanupCreationListener
-
Creates a new scheduled cleanup listener.
- setCooldown(CooldownGroup, CooldownInstance) - Method in interface org.incendo.cloud.processors.cooldown.profile.CooldownProfile
-
Sets the cooldown for the given
group. - StandardCooldownProfileFactory - Class in org.incendo.cloud.processors.cooldown.profile
-
Standard implementation of
CooldownProfileFactory. - StandardCooldownProfileFactory(CooldownConfiguration<?>) - Constructor for class org.incendo.cloud.processors.cooldown.profile.StandardCooldownProfileFactory
-
Creates a new factory instance.
T
- timeUnit() - Element in annotation interface org.incendo.cloud.processors.cooldown.annotation.Cooldown
-
Returns the time unit of the
Cooldown.duration()}. - toString() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Prints the immutable value
Cooldownwith attribute values. - toString() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Prints the immutable value
CooldownConfigurationwith attribute values. - toString() - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Prints the immutable value
CooldownInstancewith attribute values.
W
- withActiveCooldownListeners(Iterable<? extends CooldownActiveListener<C>>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object with elements that replace the content of
activeCooldownListeners. - withActiveCooldownListeners(CooldownActiveListener<C>...) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object with elements that replace the content of
activeCooldownListeners. - withBypassCooldown(Predicate<CommandContext<C>>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object by setting a value for the
bypassCooldownattribute. - withClock(Clock) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object by setting a value for the
clockattribute. - withCreationListeners(Iterable<? extends CooldownCreationListener<C>>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object with elements that replace the content of
creationListeners. - withCreationListeners(CooldownCreationListener<C>...) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object with elements that replace the content of
creationListeners. - withCreationTime(Instant) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Copy the current immutable object by setting a value for the
creationTimeattribute. - withDuration(Duration) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Copy the current immutable object by setting a value for the
durationattribute. - withDuration(DurationFunction<C>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Copy the current immutable object by setting a value for the
durationattribute. - withFallbackGroup(Function<Command<C>, CooldownGroup>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object by setting a value for the
fallbackGroupattribute. - withGroup(CooldownGroup) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Copy the current immutable object by setting a value for the
groupattribute. - withGroup(CooldownGroup) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldown
-
Copy the current immutable object by setting a value for the
groupattribute. - withProfile(CooldownProfile) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownInstance
-
Copy the current immutable object by setting a value for the
profileattribute. - withProfileFactory(CooldownProfileFactory) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object by setting a value for the
profileFactoryattribute. - withRepository(CooldownRepository<C>) - Method in class org.incendo.cloud.processors.cooldown.ImmutableCooldownConfiguration
-
Copy the current immutable object by setting a value for the
repositoryattribute.
All Classes and Interfaces|All Packages