Package de.xima.fc.gui.common.model.push
Class ExecuteScriptPushData
java.lang.Object
de.xima.fc.gui.common.model.push.ExecuteScriptPushData
- All Implemented Interfaces:
Serializable
POJO data model for the push event beans. Represents the data for executing a JavaScript snippet on the client.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteScriptPushData
(String script, String nonce) Creates a new POJO with the given data. -
Method Summary
-
Constructor Details
-
ExecuteScriptPushData
Creates a new POJO with the given data.- Parameters:
script
- Script to execute.nonce
- Optional nonce for the evaluation.
-
-
Method Details
-
getNonce
- Returns:
- Optional nonce used when executing the script for CORS.
-
getScript
- Returns:
- The JavaScript snippet to execute on the client.
-