Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Logback: the reliable, generic, fast and flexible logging framework. Copyright (C) 1999-2011, All rights reserved. This program and the accompanying materials are dual-licensed under either the terms of the Eclipse Public License v1.0 as published by the Eclipse Foundation or (per the licensee's choosing) under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.
 package ch.qos.logback.core.pattern;
 import java.util.List;
 abstract public class DynamicConverter<E> extends FormattingConverter<E>
     implements LifeCycleContextAware {
   ContextAwareBase cab = new ContextAwareBase(this);
   // Contains a list of option Strings.
   private List<StringoptionList;

Is this component active?
   protected boolean started = false;

Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient.
   public void start() {
      = true;
   public void stop() {
      = false;
   public boolean isStarted() {
     return ;
   public void setOptionList(List<StringoptionList) {
     this. = optionList;

Return the first option passed to this component. The returned value may be null if there are no options.

First option, may be null.
   public String getFirstOption() {
     if ( == null || .size() == 0) {
       return null;
     } else {
       return .get(0);
   protected List<StringgetOptionList() {
     return ;
   public void setContext(Context context) {
   public Context getContext() {
     return .getContext();
   public void addStatus(Status status) {
   public void addInfo(String msg) {
   public void addInfo(String msgThrowable ex) {
   public void addWarn(String msg) {
  public void addWarn(String msgThrowable ex) {
  public void addError(String msg) {
  public void addError(String msgThrowable ex) {
New to GrepCode? Check out our FAQ X