Class AbstractContextCommand

    • Constructor Detail

      • AbstractContextCommand

        public AbstractContextCommand()
    • Method Detail

      • getContext

        protected Context getContext()
        Returns:
        the context
      • propagateContextChange

        protected void propagateContextChange()
        Propagate a change of the context from which this command is currently being executed. Silently skip propagating a change, if there is no current context.
      • setContext

        public void setContext​(Context context)
        Invoked by command injection.

        Developers should not invoke this method in any direct way.

        Parameters:
        context - The context to be set.