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

com.transferwise.tasks.entrypoints.EntryPoint Maven / Gradle / Ivy

The newest version!
package com.transferwise.tasks.entrypoints;

import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;

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

/**
 * Code is executing as a new entrypoint.
 */
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target(value = {CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})
public @interface EntryPoint {

  // Alias for comment
  String value() default "";

  String[] comment() default {};

  boolean usesExisting() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy