com.spss.psapi.extensions.common

Interface ExecutionContext

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object getContextData(java.lang.String key)
      Returns the value associated with the supplied key or null of no value exists.
      ExtensionObject getExtensionObject()
      Returns the extension object.
      void setContextData(java.lang.String key, java.lang.Object value)
      Stores a value in the execution context associated with the supplied key.
    • Method Detail

      • getExtensionObject

        ExtensionObject getExtensionObject()
        Returns the extension object.
        Returns:
        the extension object
      • setContextData

        void setContextData(java.lang.String key,
                          java.lang.Object value)
        Stores a value in the execution context associated with the supplied key. This allows extensions to store execution-specific information such as temporary paths in the context. The same context can be passed to the execution handler in different phases of the current execution e.g. when a post-execution action is to be performed. A new execution context is created for each node execution so values stored in one context will not be available in subsequent executions.
        Parameters:
        key - the key
        value - the associated value
        See Also:
        getContextData(String)
      • getContextData

        java.lang.Object getContextData(java.lang.String key)
        Returns the value associated with the supplied key or null of no value exists. The values are set by th extension using the setContextData() method.
        Parameters:
        key - the key
        Returns:
        the value or null
        See Also:
        setContextData(String, Object)

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.