de.fhg.igd.logging
Class ConfigurationParameters.BestMatch

java.lang.Object
  extended byde.fhg.igd.logging.ConfigurationParameters.BestMatch
Enclosing class:
ConfigurationParameters

public static class ConfigurationParameters.BestMatch
extends Object

This is wrapper class for a best matching configuration entry, which is for example the return type of LoggingConfiguration.getOutput(String) and LoggingConfiguration.getLogLevel(String).


Field Summary
protected  String name_
          The best matching name
protected  Object value_
          The best matching value
 
Constructor Summary
protected ConfigurationParameters.BestMatch(String name, Object value)
          Create a BestMatch.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 Object getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name_

protected String name_
The best matching name


value_

protected Object value_
The best matching value

Constructor Detail

ConfigurationParameters.BestMatch

protected ConfigurationParameters.BestMatch(String name,
                                            Object value)
Create a BestMatch.

Parameters:
name - The best matching name
value - The best matching value
Method Detail

getName

public String getName()

getValue

public Object getValue()

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.