CentraSite Developer's Guide : Custom Policy Actions : Computed Run-Time Actions : Computed Run-Time Action Plug-in
Computed Run-Time 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
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback