You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AcceptCriterion.java 899B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.terminal.gwt.client.ui.dd;
  5. import java.lang.annotation.ElementType;
  6. import java.lang.annotation.Retention;
  7. import java.lang.annotation.RetentionPolicy;
  8. import java.lang.annotation.Target;
  9. /**
  10. * An annotation type used to point the server side counterpart for client side
  11. * a {@link VAcceptCriterion} class.
  12. * <p>
  13. * Annotations are used at GWT compilation phase, so remember to rebuild your
  14. * widgetset if you do changes for {@link AcceptCriterion} mappings.
  15. *
  16. * Prior to Vaadin 7, the mapping was done with an annotation on server side
  17. * classes.
  18. *
  19. * @since 7.0
  20. */
  21. @Retention(RetentionPolicy.RUNTIME)
  22. @Target(ElementType.TYPE)
  23. public @interface AcceptCriterion {
  24. /**
  25. * @return the fully qualified class name of the server side counterpart for
  26. * the annotated criterion
  27. */
  28. String value();
  29. }