Package com.install4j.api.beans
Class ScriptProperty
- java.lang.Object
-
- com.install4j.api.beans.ScriptProperty
-
- All Implemented Interfaces:
java.io.Serializable
public class ScriptProperty extends java.lang.Object implements java.io.SerializableProperty 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 invokingContext.runScriptwith the expected parameters for the script. Parameters are configured via the corresponding BeanInfo class. TheScriptPropertyDescriptorclass allows you to create a property descriptor that contains information regarding return type and script parameters.
-
-
Constructor Summary
Constructors Constructor Description ScriptProperty()The constructor is called by the framework.ScriptProperty(java.lang.String value)The constructor is called by the framework.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetValue()Required by the framework.inthashCode()voidsetValue(java.lang.String value)Required by the framework.java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Required by the framework. Do not call directly.
-
setValue
public void setValue(java.lang.String value)
Required by the framework. Do not call directly.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-