Annotation Type ScopeParam


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface ScopeParam
    Marker annotation to identify the name of a parameter of a method.
    By default, the scopes() is Scope.AUTO.
    You could arrange another sequence by setting the scopes().
    Since:
    6.0.0
    Author:
    dennis
    See Also:
    Init, Command, Scope
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Scope[] scopes
      the scopes to evaluate.
      java.lang.String value
      name of the parameter.
    • Element Detail

      • value

        java.lang.String value
        name of the parameter. Since 9.5.0, it can be omitted if name is the same as the annotated parameter.
        Returns:
        name of the parameter
        Default:
        ""
      • scopes

        Scope[] scopes
        the scopes to evaluate.
        Returns:
        the scopes, default Scope.AUTO
        Default:
        {org.zkoss.bind.annotation.Scope.AUTO}