Annotation Interface RequireSiteState


@Inherited @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface RequireSiteState
Indicates that the annotated method requires the site state to match the state specified in the annotation value. Annotated method should take a String parameter annotated with SiteId annotation. If the site is not ready, InvalidSiteStateException will be thrown.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The required site state
  • Element Details

    • value

      String value
      The required site state