@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface AnnotatedSink.Bind
@Bind(value = "test", type = ElementType.NODE)will be triggered the annotated method when receiving 'nodeAttributeXXX()' methods.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Name of the attribute key that triggered the annotated method.
|
Modifier and Type | Optional Element and Description |
---|---|
SourceBase.ElementType |
type
Type of element that triggered the annotated method.
|
public abstract java.lang.String value
public abstract SourceBase.ElementType type