Class ContextAwareBase

    • Field Detail

      • context

        protected Context context
    • Constructor Detail

      • ContextAwareBase

        public ContextAwareBase()
      • ContextAwareBase

        public ContextAwareBase(ContextAware declaredOrigin)
    • Method Detail

      • setContext

        public void setContext(Context context)
      • getContext

        public Context getContext()
      • getDeclaredOrigin

        protected Object getDeclaredOrigin()
        The declared origin of status messages. By default 'this'. Derived classes may override this method to declare other origin.
        Returns:
        the declared origin, by default 'this'
      • addStatus

        public void addStatus(Status status)
      • addInfo

        public void addInfo(String msg)
      • addWarn

        public void addWarn(String msg)
      • addError

        public void addError(String msg)