org.apache.logging.log4j.core.impl
Class StackTracePackageElement

java.lang.Object
  extended by org.apache.logging.log4j.core.impl.StackTracePackageElement
All Implemented Interfaces:
Serializable

public class StackTracePackageElement
extends Object
implements Serializable

Package data for a StackTraceElement.

See Also:
Serialized Form

Constructor Summary
StackTracePackageElement(String location, String version, boolean exact)
          Constructor that takes the location, version, and exact match flag.
 
Method Summary
 String getLocation()
          Returns the location of the element.
 String getVersion()
          Returns the version of the element.
 boolean isExact()
          Returns the indicator of whether this is an exact match.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackTracePackageElement

public StackTracePackageElement(String location,
                                String version,
                                boolean exact)
Constructor that takes the location, version, and exact match flag.

Parameters:
location - The location of the Class.
version - The version of the component.
exact - if true this is an exact package element.
Method Detail

getLocation

public String getLocation()
Returns the location of the element.

Returns:
The location of the element.

getVersion

public String getVersion()
Returns the version of the element.

Returns:
the version of the element.

isExact

public boolean isExact()
Returns the indicator of whether this is an exact match.

Returns:
true if the location was determined exactly.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.