com.projectdarkstar.tools.dtc.domain
Class TestExecutionResultProbeLog

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.domain.TestExecutionResultProbeLog
All Implemented Interfaces:
Serializable

public class TestExecutionResultProbeLog
extends Object
implements Serializable

Captures complete runtime configuration, hardware resource executed on, and result log file for the execution of a SystemProbe during the test.

See Also:
Serialized Form

Constructor Summary
TestExecutionResultProbeLog()
           
TestExecutionResultProbeLog(HardwareResource resource, SystemProbe originalSystemProbe, TestExecutionResult parentResult)
           
 
Method Summary
 boolean equals(Object o)
           
 List<TestExecutionResultProbeData> getData()
          A list of TestExecutionResultProbeData objects are periodically collected during the execution of a SystemProbe to monitor the specific metric that the probe measures over time.
 Long getId()
          Returns the id of the entity in persistent storage
 LogFile getLogFile()
           
 SystemProbe getOriginalSystemProbe()
           
 String getOriginalSystemProbeClassName()
           
 String getOriginalSystemProbeClassPath()
           
 String getOriginalSystemProbeMetric()
           
 String getOriginalSystemProbeName()
           
 PkgLibrary getOriginalSystemProbeRequiredPkg()
           
 String getOriginalSystemProbeUnits()
           
 TestExecutionResult getParentResult()
           
 List<Property> getProperties()
           
 HardwareResource getResource()
           
 Long getVersionNumber()
          Returns the version number in the data store that this entity represents.
 int hashCode()
           
 void setData(List<TestExecutionResultProbeData> data)
           
 void setId(Long id)
           
 void setLogFile(LogFile logFile)
           
 void setParentResult(TestExecutionResult parentResult)
           
 void setProperties(List<Property> properties)
           
 void setResource(HardwareResource resource)
           
protected  void setVersionNumber(Long versionNumber)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestExecutionResultProbeLog

public TestExecutionResultProbeLog()

TestExecutionResultProbeLog

public TestExecutionResultProbeLog(HardwareResource resource,
                                   SystemProbe originalSystemProbe,
                                   TestExecutionResult parentResult)
Method Detail

getId

public Long getId()
Returns the id of the entity in persistent storage

Returns:
id of the entity

setId

public void setId(Long id)

getVersionNumber

public Long getVersionNumber()
Returns the version number in the data store that this entity represents. Whenever an update to an object is pushed to the persistent data store, the version number is incremented.

Returns:
version number of the entity

setVersionNumber

protected void setVersionNumber(Long versionNumber)

getResource

public HardwareResource getResource()

setResource

public void setResource(HardwareResource resource)

getLogFile

public LogFile getLogFile()

setLogFile

public void setLogFile(LogFile logFile)

getOriginalSystemProbeName

public String getOriginalSystemProbeName()

getOriginalSystemProbeClassName

public String getOriginalSystemProbeClassName()

getOriginalSystemProbeClassPath

public String getOriginalSystemProbeClassPath()

getOriginalSystemProbeMetric

public String getOriginalSystemProbeMetric()

getOriginalSystemProbeUnits

public String getOriginalSystemProbeUnits()

getOriginalSystemProbeRequiredPkg

public PkgLibrary getOriginalSystemProbeRequiredPkg()

getOriginalSystemProbe

public SystemProbe getOriginalSystemProbe()

getProperties

public List<Property> getProperties()

setProperties

public void setProperties(List<Property> properties)

getParentResult

public TestExecutionResult getParentResult()

setParentResult

public void setParentResult(TestExecutionResult parentResult)

getData

public List<TestExecutionResultProbeData> getData()
A list of TestExecutionResultProbeData objects are periodically collected during the execution of a SystemProbe to monitor the specific metric that the probe measures over time. Returns a list of these data objects.

Returns:
list of probe data points

setData

public void setData(List<TestExecutionResultProbeData> data)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.