All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yoloho.schedule.annotation.EnableSchedule Maven / Gradle / Ivy

The newest version!
package com.yoloho.schedule.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.yoloho.schedule.config.EnableScheduleConfiguration;

/**
 * Enable tbschedule support
* Support for placeholders * * @author jason * */ @Inherited @Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Import(EnableScheduleConfiguration.class) public @interface EnableSchedule { /** *Bean name, can be empty for autogenerated. * * @return */ String name() default ""; /** * Server address * @return */ String address() default ""; // required /** * Base path * @return */ String rootPath() default ""; // required /** * ACL information if required */ String username() default ""; String password() default ""; /** * Storage backend, eg. zookeeper/redis/jdbc * * @return */ String storage() default ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy