kz.greetgo.scheduling.FromConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.scheduling Show documentation
Show all versions of greetgo.scheduling Show documentation
Scheduler using in greetgo!
package kz.greetgo.scheduling;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* Indicates that timing string has been taking from config place
*
*
* This annotation is using only with annotation {@link Scheduled}. In this case annotation {@link Scheduled} inform
* about started value of timing? placed in config place.
*
*/
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FromConfig {
/**
* Task description - it is copied in to config place
*/
String value();
}