Class ExecutionContextDescription


  • public class ExecutionContextDescription
    extends java.lang.Object
    Description of an isolated world.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecutionContextDescription​(ExecutionContextId id, java.lang.String origin, java.lang.String name, java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> auxData)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getAuxData()
      Embedder-specific auxiliary data.
      ExecutionContextId getId()
      Unique id of the execution context.
      java.lang.String getName()
      Human readable name describing given context.
      java.lang.String getOrigin()
      Execution context origin.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExecutionContextDescription

        public ExecutionContextDescription​(ExecutionContextId id,
                                           java.lang.String origin,
                                           java.lang.String name,
                                           java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> auxData)
    • Method Detail

      • getId

        public ExecutionContextId getId()
        Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
      • getOrigin

        public java.lang.String getOrigin()
        Execution context origin.
      • getName

        public java.lang.String getName()
        Human readable name describing given context.
      • getAuxData

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getAuxData()
        Embedder-specific auxiliary data.