Class ExecuteContext


  • public class ExecuteContext
    extends Object
    Thread local context. Note: ExecuteContext is a temporary state holder.
    • Constructor Detail

      • ExecuteContext

        protected ExecuteContext()
    • Method Detail

      • removeContext

        public static void removeContext()
      • getAttachment

        public String getAttachment​(String key)
        get attachment.
        Parameters:
        key -
        Returns:
        attachment
      • setAttachment

        public ExecuteContext setAttachment​(String key,
                                            String value)
        set attachment.
        Parameters:
        key -
        value -
        Returns:
        context
      • removeAttachment

        public ExecuteContext removeAttachment​(String key)
        remove attachment.
        Parameters:
        key -
        Returns:
        context
      • getAttachments

        public Map<String,​String> getAttachments()
        get attachments.
        Returns:
        attachments
      • setAttachments

        public ExecuteContext setAttachments​(Map<String,​String> attachment)
        set attachments
        Parameters:
        attachment -
        Returns:
        context
      • clearAttachments

        public void clearAttachments()
      • profile

        public boolean profile()
      • openProfile

        public void openProfile()
      • explain

        public boolean explain()
      • openExplain

        public void openExplain()