java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.access.common.net.URLEvaluator
All Implemented Interfaces:
ch.qos.logback.core.boolex.EventEvaluator<IAccessEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class URLEvaluator extends ch.qos.logback.core.spi.ContextAwareBase implements ch.qos.logback.core.boolex.EventEvaluator<IAccessEvent>, ch.qos.logback.core.spi.LifeCycle
  • Field Summary

    Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

    context
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
     
    boolean
     
    void
     
    void
     
    void
     

    Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ch.qos.logback.core.spi.ContextAware

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
  • Constructor Details

  • Method Details

    • addURL

      public void addURL(String url)
    • start

      public void start()
      Specified by:
      start in interface ch.qos.logback.core.spi.LifeCycle
    • evaluate

      public boolean evaluate(IAccessEvent event) throws NullPointerException, ch.qos.logback.core.boolex.EvaluationException
      Specified by:
      evaluate in interface ch.qos.logback.core.boolex.EventEvaluator<IAccessEvent>
      Throws:
      NullPointerException
      ch.qos.logback.core.boolex.EvaluationException
    • getName

      public String getName()
      Specified by:
      getName in interface ch.qos.logback.core.boolex.EventEvaluator<IAccessEvent>
    • setName

      public void setName(String name)
      Specified by:
      setName in interface ch.qos.logback.core.boolex.EventEvaluator<IAccessEvent>
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface ch.qos.logback.core.spi.LifeCycle
    • stop

      public void stop()
      Specified by:
      stop in interface ch.qos.logback.core.spi.LifeCycle