Class ExecuteScriptPushData

  • All Implemented Interfaces:
    Serializable

    public class ExecuteScriptPushData
    extends Object
    implements 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:
    Serialized Form
    • Constructor Detail

      • ExecuteScriptPushData

        public ExecuteScriptPushData​(String script,
                                     String nonce)
        Creates a new POJO with the given data.
        Parameters:
        script - Script to execute.
        nonce - Optional nonce for the evaluation.
    • Method Detail

      • getNonce

        public String getNonce()
        Returns:
        Optional nonce used when executing the script for CORS.
      • getScript

        public String getScript()
        Returns:
        The JavaScript snippet to execute on the client.