public class ExpEditorUtils
extends java.lang.Object
Constructor and Description |
---|
ExpEditorUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getEventProperty(java.lang.String eventName)
Returns secure event name from the map SECURE_EVENT_PROPERTY_MAPPING
|
static JSONObject |
getEventsObject(JsonNode scriptsNode)
Returns events JSONObject having secured eventName and script model
|
static java.lang.String |
getScriptModel(java.lang.String script,
java.lang.String eventName)
Return script model from script and eventName
|
public static JSONObject getEventsObject(JsonNode scriptsNode) throws JSONException
scriptsNode
- jsonNode for events provided thorugh json schemaJSONException
public static java.lang.String getScriptModel(java.lang.String script, java.lang.String eventName)
script
- : script provided through json SchemaeventName
- : event provided through json Schemapublic static java.lang.String getEventProperty(java.lang.String eventName)
eventName
- : provided in the jsonSchemaCopyright © 2010 - 2020 Adobe. All Rights Reserved