Class AppenderBase<E>

    • Field Detail

      • started

        protected volatile boolean started
      • name

        protected String name
        Appenders are named.
    • Constructor Detail

      • AppenderBase

        public AppenderBase()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Appender
        Get the name of this appender. The name uniquely identifies the appender.
      • doAppend

        public void doAppend(E eventObject)
        Description copied from interface: Appender
        This is where an appender accomplishes its work. Note that the argument is of type Object.
      • append

        protected abstract void append(E eventObject)
      • setName

        public void setName(String name)
        Set the name of this appender.
      • start

        public void start()
      • stop

        public void stop()
      • isStarted

        public boolean isStarted()
      • toString

        public String toString()
      • addFilter

        public void addFilter(Filter<E> newFilter)
        Description copied from interface: FilterAttachable
        Add a filter.
      • clearAllFilters

        public void clearAllFilters()
      • getFilterChainDecision

        public FilterReply getFilterChainDecision(E event)
        Description copied from interface: FilterAttachable
        Loop through the filters in the chain. As soon as a filter decides on ACCEPT or DENY, then that value is returned. If all of the filters return NEUTRAL, then NEUTRAL is returned.