com.buglabs.support
Class SupportInfo
java.lang.Object
com.buglabs.support.SupportInfo
- Direct Known Subclasses:
- BUGSupportInfo
public abstract class SupportInfo
- extends java.lang.Object
This class is meant to be subclassed by a BUG Simulator or real bug version it
is to facilitate the gathering of bug information currently for the use of
the /support web service (which is in com.buglabs.bug.emulator.base &
com.buglabs.bug.base)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SupportInfo
public SupportInfo(BundleContext context)
getKernelVersion
protected abstract java.lang.String getKernelVersion()
getRootfsVersion
protected abstract java.lang.String getRootfsVersion()
getInfo
public java.lang.String getInfo(ISupportInfoFormatter formatter)
- Main method to gather all the info and return as a formatted string
- Parameters:
formatter -
- Returns:
getLogService
protected LogService getLogService()
- helper for subclasses to return the log service for the given context
- Returns: