com.projectdarkstar.tools.dtc.domain
Class TestExecutionResultServerLog

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

public class TestExecutionResultServerLog
extends Object
implements Serializable

Captures complete runtime configuration and result log file for the execution of the server application on a specific resource during execution of the test.

See Also:
Serialized Form

Constructor Summary
TestExecutionResultServerLog()
           
TestExecutionResultServerLog(HardwareResource resource, ServerAppConfig originalServerAppConfig, TestExecutionResult parentResult)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getId()
          Returns the id of the entity in persistent storage
 LogFile getLogFile()
           
 ServerAppConfig getOriginalServerAppConfig()
           
 String getOriginalServerAppConfigAdditionalCommandLine()
           
 String getOriginalServerAppConfigName()
           
 String getOriginalServerAppDescription()
           
 String getOriginalServerAppName()
           
 PkgLibrary getOriginalServerAppRequiredPkg()
           
 TestExecutionResult getParentResult()
           
 List<Property> getProperties()
           
 HardwareResource getResource()
           
 Long getVersionNumber()
          Returns the version number in the data store that this entity represents.
 int hashCode()
           
 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

TestExecutionResultServerLog

public TestExecutionResultServerLog()

TestExecutionResultServerLog

public TestExecutionResultServerLog(HardwareResource resource,
                                    ServerAppConfig originalServerAppConfig,
                                    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)

getOriginalServerAppName

public String getOriginalServerAppName()

getOriginalServerAppDescription

public String getOriginalServerAppDescription()

getOriginalServerAppRequiredPkg

public PkgLibrary getOriginalServerAppRequiredPkg()

getOriginalServerAppConfigName

public String getOriginalServerAppConfigName()

getOriginalServerAppConfigAdditionalCommandLine

public String getOriginalServerAppConfigAdditionalCommandLine()

getOriginalServerAppConfig

public ServerAppConfig getOriginalServerAppConfig()

getProperties

public List<Property> getProperties()

setProperties

public void setProperties(List<Property> properties)

getParentResult

public TestExecutionResult getParentResult()

setParentResult

public void setParentResult(TestExecutionResult parentResult)

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.