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

org.n3r.quartz.glass.job.annotation.JobArgument Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
package org.n3r.quartz.glass.job.annotation;

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

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface JobArgument {

    /**
     * Whether the parameter is required in GlassJob Configuration Map
     */
    boolean required() default false;

    /**
     * User friendly description of parameter
     */
    String description() default "";

    /**
     * Sample values to illustrate what kind of entry the user is expected to enter.
     */
    String[] sampleValues() default {};

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy