Package com.install4j.api.beans
Class ScriptProperty
java.lang.Object
com.install4j.api.beans.ScriptProperty
- All Implemented Interfaces:
Serializable
Property type for script properties to be used in beans.
You can define your own script properties where the user can configure a script in the install4j GUI that is
compiled by the install4j compiler and executed at runtime on your request.
A script is run via the context by invoking
Context.runScript
with the expected parameters for the script.
Parameters are configured via the corresponding BeanInfo class. The ScriptPropertyDescriptor
class allows you to
create a property descriptor that contains information regarding return type and script parameters.- See Also:
-
Constructor Summary
ConstructorDescriptionThe constructor is called by the framework.ScriptProperty
(String value) The constructor is called by the framework. -
Method Summary
-
Constructor Details
-
ScriptProperty
public ScriptProperty()The constructor is called by the framework. -
ScriptProperty
The constructor is called by the framework.
-
-
Method Details