public interface LogQuerySupportMBean
| Modifier and Type | Method and Description |
|---|---|
LogResults |
allLogResults()
Returns all the available recent log events as a
LogResults object which is then serialized |
java.lang.String |
filterLogEvents(java.lang.String jsonFiler)
Filters the list of log events using the JSON encoding of
LogFilter |
java.lang.String |
getJavaDoc(java.lang.String mavenCoordinates,
java.lang.String filePath)
Returns the javadoc file for the given maven coordinates and filePath
|
java.lang.String |
getLogEvents(int count)
Returns the recent log events as JSON
|
LogResults |
getLogResults(int count)
Returns the recent log events as a
LogResults object which is then serialized |
java.lang.String |
getSource(java.lang.String mavenCoordinates,
java.lang.String className,
java.lang.String filePath)
Returns the source file for the given maven coordinates so that we can link log messages
to source code
|
LogResults |
jsonQueryLogResults(java.lang.String jsonFilter)
Allows a JSON filter to be specified then returns the log results as a serialised object
|
LogResults |
logResultsSince(long time)
Returns all the available log events since the given timestamp (millis)
|
LogResults |
queryLogResults(LogFilter filter)
Queries the log results using the given filter
|
LogResults allLogResults() throws java.io.IOException
LogResults object which is then serializedjava.io.IOExceptionLogResults logResultsSince(long time) throws java.io.IOException
java.io.IOExceptionLogResults getLogResults(int count) throws java.io.IOException
LogResults object which is then serializedcount - maximum number to return o <0 for all of themjava.io.IOExceptionLogResults queryLogResults(LogFilter filter)
filter - the filter to apply to the logsjava.lang.String getSource(java.lang.String mavenCoordinates,
java.lang.String className,
java.lang.String filePath)
throws java.io.IOException
mavenCoordinates - is a string of the form "groupId:artifactId:version".
For some uber bundles this can be a space separated list.java.io.IOExceptionjava.lang.String getJavaDoc(java.lang.String mavenCoordinates,
java.lang.String filePath)
throws java.io.IOException
mavenCoordinates - is a string of the form "groupId:artifactId:version".
For some uber bundles this can be a space separated list.java.io.IOExceptionjava.lang.String getLogEvents(int count)
throws java.io.IOException
count - maximum number to return o <0 for all of themLogEventjava.io.IOExceptionjava.lang.String filterLogEvents(java.lang.String jsonFiler)
throws java.io.IOException
LogFilterLogEventjava.io.IOExceptionLogResults jsonQueryLogResults(java.lang.String jsonFilter) throws java.io.IOException
java.io.IOExceptionCopyright © 2014 Red Hat. All Rights Reserved.