Package com.iizix.api.vs
Annotation Interface 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 using
AbstractActionActorTXPNode.getSettings()
or if the class implementing the settings receiver interface IActionActorSettingsReceiver.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
Nested Class Summary
Required Element Summary
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
ForValue
types, if null is allowed or not.Default input when defining the property in the property editor.Description of the property, used in the property editor.boolean
Flag indicating the property must be defined, otherwise it causes an error.Tooltip of the property entry field, used in the property editor.
Element Details
name
String nameThe name of the property.- Returns:
- A name that validates by
Atom.validateName(String)
.
prompt
String promptThe text prompt of the property.- Returns:
- A string used in front of the property editor input field.
type
JavaActorParam.Type typeType of parameter.
descr
String descrDescription of the property, used in the property editor.- Default:
- ""
tooltip
String tooltipTooltip of the property entry field, used in the property editor.- Default:
- ""
required
boolean requiredFlag indicating the property must be defined, otherwise it causes an error.- Returns:
- false by default.
- Default:
- false
defaultInput
String defaultInputDefault input when defining the property in the property editor.- Returns:
- Any string that is placed in the input for the property editor.
- Default:
- ""
allowNull
boolean allowNullForValue
types, if null is allowed or not.- Returns:
- true if null is allowed, false otherwise. Default is true.
- Default:
- true