Package com.iizix.api.vs
Annotation Type JavaActorParam
@Documented @Retention(RUNTIME) @Target(TYPE) @Repeatable(JavaActorParams.class) public @interface JavaActorParam
Annotation used to define a Java Action Actor parameter that will be provided in the settings property at runtime. The settings property is retrieved usingAbstractActionActorTXPNode.getSettings()or if the class implementing the settings receiver interfaceIActionActorSettingsReceiver.getSettings().Example:
@JavaActionActorAnnotation(ref="Proj:/vs/subFolder/OneVS", modifiesVS=true, descr="This is My Java Action Actor") @JavaActorParam(name="param1", prompt="String #1", descr="Description of param1", type=JavaActorParam.Type.String) @JavaActorParam(name="param2", prompt="String #2", descr="Description of param2", type=JavaActorParam.Type.String) @JavaActorParam(name="param3", prompt="Date" , descr="Description of param3", type=JavaActorParam.Type.Value_Date, required=true, defaultInput="2010-01-01") public class MyJavaActionActor extends AbstractJavaActionActor { ... }- Author:
- Christopher Mindus
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameThe name of the property.java.lang.StringpromptThe text prompt of the property.JavaActorParam.TypetypeType of parameter.
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanallowNullForValuetypes, if null is allowed or not.java.lang.StringdefaultInputDefault input when defining the property in the property editor.java.lang.StringdescrDescription of the property, used in the property editor.booleanrequiredFlag indicating the property must be defined, otherwise it causes an error.java.lang.StringtooltipTooltip of the property entry field, used in the property editor.
Element Detail
name
java.lang.String name
The name of the property.- Returns:
- A name that validates by
Atom.validateName(String).
type
JavaActorParam.Type type
Type of parameter.
allowNull
boolean allowNull
ForValuetypes, if null is allowed or not.- Returns:
- true if null is allowed, false otherwise. Default is true.
- Default:
- true