spring-framework / org.springframework.scheduling.annotation / Schedules

Schedules

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.ANNOTATION_CLASS]) class Schedules

Container annotation that aggregates several Scheduled annotations.

Can be used natively, declaring several nested Scheduled annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where Scheduled can simply be declared several times on the same method, implicitly generating this container annotation.

This annotation may be used as a meta-annotation to create custom composed annotations.

Author
Juergen Hoeller

Since
4.0

See Also
Scheduled

Constructors

<init>

Schedules(vararg value: Scheduled)

Container annotation that aggregates several Scheduled annotations.

Can be used natively, declaring several nested Scheduled annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where Scheduled can simply be declared several times on the same method, implicitly generating this container annotation.

This annotation may be used as a meta-annotation to create custom composed annotations.

Properties

value

val value: Array<Scheduled>