com.buglabs.support
Class SupportInfo

java.lang.Object
  extended by 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)


Constructor Summary
SupportInfo(BundleContext context)
           
 
Method Summary
 java.lang.String getInfo(ISupportInfoFormatter formatter)
          Main method to gather all the info and return as a formatted string
protected abstract  java.lang.String getKernelVersion()
           
protected  LogService getLogService()
          helper for subclasses to return the log service for the given context
protected abstract  java.lang.String getRootfsVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportInfo

public SupportInfo(BundleContext context)
Method Detail

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: