Setting up the Computed Action Plug-in
The following list shows the main methods on each of the two Java source files MyComputedRuntimeActionWidget.java and MyComputedRuntimeActionParser.java and describes the type of functions that they serve.
The
getPolicyActionJson method returns the JavaScript Object (JSO) from the given JSON-formatted string.
The
getActionInstance method returns a
CentraSitePolicyActionInstance object from the given JSON-formatted string.
The
String getJson method returns a JSON-formatted string from the existing policy action instance.
The
boolean isValid() method enforces a validation logic for the user-defined rendering of the runtime action.
Assuming that you have set up all the Java files correctly in the directories, you should be able to build with the command:
ant -f build.xml jar all