public class PathLogInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
contextual |
protected NamespaceRelativePathLogInfo |
namespaceRelative |
Constructor and Description |
---|
PathLogInfo(NamespaceRelativePathLogInfo namespaceRelative)
Path's details.
|
PathLogInfo(NamespaceRelativePathLogInfo namespaceRelative,
java.lang.String contextual)
Path's details.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContextual()
Fully qualified path relative to event's context.
|
NamespaceRelativePathLogInfo |
getNamespaceRelative()
Path relative to the namespace containing the content.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String contextual
protected final NamespaceRelativePathLogInfo namespaceRelative
public PathLogInfo(NamespaceRelativePathLogInfo namespaceRelative, java.lang.String contextual)
namespaceRelative
- Path relative to the namespace containing the
content. Must not be null
.contextual
- Fully qualified path relative to event's context.
Might be missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PathLogInfo(NamespaceRelativePathLogInfo namespaceRelative)
The default values for unset fields will be used.
namespaceRelative
- Path relative to the namespace containing the
content. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public NamespaceRelativePathLogInfo getNamespaceRelative()
null
.public java.lang.String getContextual()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.