TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.hyades.logging.adapter.ui.internal.views
Class AcadGuiModel

java.lang.Object
  extended byorg.eclipse.hyades.logging.adapter.ui.internal.views.AcadGuiModel

public class AcadGuiModel
extends java.lang.Object


Field Summary
protected  org.eclipse.hyades.logging.adapter.Adapter adaptor
           
protected  org.eclipse.hyades.logging.adapter.model.internal.configuration.ContextInstanceType context
           
protected  TestContextListener contextListener
           
protected  java.lang.String logContent
           
protected  long logContentCnt
           
protected  int startRecord
           
 
Constructor Summary
AcadGuiModel()
           
 
Method Summary
 void dispose()
           
 org.eclipse.hyades.logging.adapter.model.internal.configuration.ContextInstanceType getContextInstance()
           
 TestContextListener getContextListener()
           
 long getCurrentCount()
           
 long getEventCount()
           
 ResultQueueEntry getFirstEvent()
           
 ResultQueueEntry getLastEvent()
           
 java.lang.String getLogContent()
           
 long getLogContentCount()
           
 ResultQueueEntry getNextEvent()
           
 ResultQueueEntry getPreviousEvent()
           
static org.eclipse.hyades.logging.adapter.model.internal.unit.PropertyType getProperty(org.eclipse.hyades.logging.adapter.model.internal.sensor.SensorConfigType sensor, java.lang.String string)
           
 ResultQueue getResultQueue()
           
 int getResultQueueBeginCount()
           
 int getStartRecord()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 void loadTemplateFile()
           
 void resetValues()
           
 void setContextInstance(org.eclipse.hyades.logging.adapter.model.internal.configuration.ContextInstanceType context)
           
 void setContextListener(TestContextListener listener)
           
 void setLogContent(java.lang.String string, int appended)
           
 void setStartRecord(int startRecord)
           
 void updateLogContent()
           
 void updateResult()
           
 void updateTemplateLog()
           
 void updateTestShow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected org.eclipse.hyades.logging.adapter.model.internal.configuration.ContextInstanceType context

logContent

protected java.lang.String logContent

logContentCnt

protected long logContentCnt

adaptor

protected org.eclipse.hyades.logging.adapter.Adapter adaptor

contextListener

protected TestContextListener contextListener

startRecord

protected int startRecord
Constructor Detail

AcadGuiModel

public AcadGuiModel()
Method Detail

getFirstEvent

public ResultQueueEntry getFirstEvent()
Returns:

getLastEvent

public ResultQueueEntry getLastEvent()
Returns:

getNextEvent

public ResultQueueEntry getNextEvent()
Returns:

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

getPreviousEvent

public ResultQueueEntry getPreviousEvent()
Returns:

loadTemplateFile

public void loadTemplateFile()

getProperty

public static org.eclipse.hyades.logging.adapter.model.internal.unit.PropertyType getProperty(org.eclipse.hyades.logging.adapter.model.internal.sensor.SensorConfigType sensor,
                                                                                              java.lang.String string)
Parameters:
sensor -
string -
Returns:

updateTestShow

public void updateTestShow()

updateResult

public void updateResult()

updateTemplateLog

public void updateTemplateLog()

updateLogContent

public void updateLogContent()

getCurrentCount

public long getCurrentCount()
Returns:

getEventCount

public long getEventCount()
Returns:

getLogContentCount

public long getLogContentCount()

dispose

public void dispose()

resetValues

public void resetValues()

getContextInstance

public org.eclipse.hyades.logging.adapter.model.internal.configuration.ContextInstanceType getContextInstance()
Returns:

setContextInstance

public void setContextInstance(org.eclipse.hyades.logging.adapter.model.internal.configuration.ContextInstanceType context)

getLogContent

public java.lang.String getLogContent()
Returns:

setLogContent

public void setLogContent(java.lang.String string,
                          int appended)
Parameters:
string -

getContextListener

public TestContextListener getContextListener()
Returns:

setContextListener

public void setContextListener(TestContextListener listener)
Parameters:
listener -

getResultQueue

public ResultQueue getResultQueue()

getResultQueueBeginCount

public int getResultQueueBeginCount()
Returns:

getStartRecord

public int getStartRecord()
Returns:
Returns the startRecord.

setStartRecord

public void setStartRecord(int startRecord)
Parameters:
startRecord - The startRecord to set.

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification