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 |
String |
filterLogEvents(String jsonFiler)
Filters the list of log events using the JSON encoding of
LogFilter |
String |
getJavaDoc(String mavenCoordinates,
String filePath)
Returns the javadoc file for the given maven coordinates and filePath
|
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 |
String |
getSource(String mavenCoordinates,
String className,
String filePath)
Returns the source file for the given maven coordinates so that we can link log messages
to source code
|
LogResults |
jsonQueryLogResults(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 IOException
LogResults object which is then serializedIOExceptionLogResults logResultsSince(long time) throws IOException
IOExceptionLogResults getLogResults(int count) throws IOException
LogResults object which is then serializedcount - maximum number to return o <0 for all of themIOExceptionLogResults queryLogResults(LogFilter filter)
filter - the filter to apply to the logsString getSource(String mavenCoordinates, String className, String filePath) throws IOException
mavenCoordinates - is a string of the form "groupId:artifactId:version".
For some uber bundles this can be a space separated list.IOExceptionString getJavaDoc(String mavenCoordinates, String filePath) throws IOException
mavenCoordinates - is a string of the form "groupId:artifactId:version".
For some uber bundles this can be a space separated list.IOExceptionString getLogEvents(int count) throws IOException
count - maximum number to return o <0 for all of themLogEventIOExceptionString filterLogEvents(String jsonFiler) throws IOException
LogFilterLogEventIOExceptionLogResults jsonQueryLogResults(String jsonFilter) throws IOException
IOExceptionCopyright © 2011–2014 Red Hat. All rights reserved.