|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.install4j.api.beans.ScriptProperty
public class ScriptProperty
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.
Context.runScript(ScriptProperty, Bean, Object[])
,
ScriptPropertyDescriptor
Constructor Summary | |
---|---|
ScriptProperty()
The constructor is called by the framework. |
|
ScriptProperty(java.lang.String value)
The constructor is called by the framework. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getValue()
Required by the framework. |
int |
hashCode()
|
void |
setValue(java.lang.String value)
Required by the framework. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScriptProperty()
public ScriptProperty(java.lang.String value)
Method Detail |
---|
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
install4j API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |