@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface ScriptVariable
Modifier and Type | Optional Element and Description |
---|---|
InjectionStrategy |
injectionStrategy
|
java.lang.String |
name
Specifies the name of the script variable.
|
boolean |
optional
Deprecated.
Use
injectionStrategy() instead. |
public abstract java.lang.String name
@Deprecated public abstract boolean optional
injectionStrategy()
instead.public abstract InjectionStrategy injectionStrategy
Optional
, Required
) are used.
If even those are not available the default injection strategy defined on the Model
applies.
Default value = DEFAULT.Copyright © 2018 The Apache Software Foundation. All rights reserved.