congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PropertyDefiner.getPropertyValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getPropertyValue
method
in
ch.qos.logback.core.spi.PropertyDefiner

Best Java code snippets using ch.qos.logback.core.spi.PropertyDefiner.getPropertyValue (Showing top 8 results out of 315)

origin: camunda/camunda-bpm-platform

 /**
  * Now property definer is initialized by all properties and we can put
  * property value to context
  */
 public void end(InterpretationContext ec, String name) {
  if (inError) {
   return;
  }

  Object o = ec.peekObject();

  if (o != definer) {
   addWarn("The object at the of the stack is not the property definer for property named ["
     + propertyName + "] pushed earlier.");
  } else {
   addInfo("Popping property definer for property named [" + propertyName
     + "] from the object stack");
   ec.popObject();
   // let's put defined property and value to context but only if it is
   // not null
   String propertyValue = definer.getPropertyValue();
   if(propertyValue != null) {
    ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
   }
  }
 }
}
origin: tony19/logback-android

 /**
  * Now property definer is initialized by all properties and we can put
  * property value to context
  */
 public void end(InterpretationContext ec, String name) {
  if (inError) {
   return;
  }

  Object o = ec.peekObject();

  if (o != definer) {
   addWarn("The object at the of the stack is not the property definer for property named ["
     + propertyName + "] pushed earlier.");
  } else {
   addInfo("Popping property definer for property named [" + propertyName
     + "] from the object stack");
   ec.popObject();
   // let's put defined property and value to context but only if it is
   // not null
   String propertyValue = definer.getPropertyValue();
   if(propertyValue != null) {
    ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
   }
  }
 }
}
origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core

 /**
  * Now property definer is initialized by all properties and we can put
  * property value to context
  */
 public void end(InterpretationContext ec, String name) {
  if (inError) {
   return;
  }

  Object o = ec.peekObject();

  if (o != definer) {
   addWarn("The object at the of the stack is not the property definer for property named ["
     + propertyName + "] pushed earlier.");
  } else {
   addInfo("Popping property definer for property named [" + propertyName
     + "] from the object stack");
   ec.popObject();
   // let's put defined property and value to context but only if it is
   // not null
   String propertyValue = definer.getPropertyValue();
   if(propertyValue != null) {
    ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
   }
  }
 }
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

  /**
   * Now property definer is initialized by all properties and we can put
   * property value to context
   */
  public void end(InterpretationContext ec, String name) {
    if (inError) {
      return;
    }

    Object o = ec.peekObject();

    if (o != definer) {
      addWarn("The object at the of the stack is not the property definer for property named [" + propertyName + "] pushed earlier.");
    } else {
      addInfo("Popping property definer for property named [" + propertyName + "] from the object stack");
      ec.popObject();
      // let's put defined property and value to context but only if it is
      // not null
      String propertyValue = definer.getPropertyValue();
      if (propertyValue != null) {
        ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
      }
    }
  }
}
origin: ch.qos.logback/core

 /**
  * Now property definer is initialized by all properties and we can put
  * property value to context
  */
 public void end(InterpretationContext ec, String name) {
  if (inError) {
   return;
  }

  Object o = ec.peekObject();

  if (o != definer) {
   addWarn("The object at the of the stack is not the property definer for property named ["
     + propertyName + "] pushed earlier.");
  } else {
   addInfo("Popping property definer for property named [" + propertyName
     + "] from the object stack");
   ec.popObject();
   // let's put defined property and value to context but only if it is
   // not null
   String propertyValue = definer.getPropertyValue();
   if(propertyValue != null) {
    ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
   }
  }
 }
}
origin: io.virtdata/virtdata-lib-realer

  /**
   * Now property definer is initialized by all properties and we can put
   * property value to context
   */
  public void end(InterpretationContext ec, String name) {
    if (inError) {
      return;
    }

    Object o = ec.peekObject();

    if (o != definer) {
      addWarn("The object at the of the stack is not the property definer for property named [" + propertyName + "] pushed earlier.");
    } else {
      addInfo("Popping property definer for property named [" + propertyName + "] from the object stack");
      ec.popObject();
      // let's put defined property and value to context but only if it is
      // not null
      String propertyValue = definer.getPropertyValue();
      if (propertyValue != null) {
        ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
      }
    }
  }
}
origin: Nextdoor/bender

  /**
   * Now property definer is initialized by all properties and we can put
   * property value to context
   */
  public void end(InterpretationContext ec, String name) {
    if (inError) {
      return;
    }

    Object o = ec.peekObject();

    if (o != definer) {
      addWarn("The object at the of the stack is not the property definer for property named [" + propertyName + "] pushed earlier.");
    } else {
      addInfo("Popping property definer for property named [" + propertyName + "] from the object stack");
      ec.popObject();
      // let's put defined property and value to context but only if it is
      // not null
      String propertyValue = definer.getPropertyValue();
      if (propertyValue != null) {
        ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
      }
    }
  }
}
origin: com.hynnet/logback-core

 /**
  * Now property definer is initialized by all properties and we can put
  * property value to context
  */
 public void end(InterpretationContext ec, String name) {
  if (inError) {
   return;
  }

  Object o = ec.peekObject();

  if (o != definer) {
   addWarn("The object at the of the stack is not the property definer for property named ["
     + propertyName + "] pushed earlier.");
  } else {
   addInfo("Popping property definer for property named [" + propertyName
     + "] from the object stack");
   ec.popObject();
   // let's put defined property and value to context but only if it is
   // not null
   String propertyValue = definer.getPropertyValue();
   if(propertyValue != null) {
    ActionUtil.setProperty(ec, propertyName, propertyValue, scope);
   }
  }
 }
}
ch.qos.logback.core.spiPropertyDefinergetPropertyValue

Javadoc

Get the property value, defined by this property definer

Popular methods of PropertyDefiner

  • setContext

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • JButton (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now