Package de.valtech.aecu.core.service
Class HistoryEntryImpl
- java.lang.Object
-
- de.valtech.aecu.core.service.HistoryEntryImpl
-
- All Implemented Interfaces:
de.valtech.aecu.api.service.HistoryEntry
public class HistoryEntryImpl extends Object implements de.valtech.aecu.api.service.HistoryEntry
Implementation of history entry.- Author:
- Roland Gruber
-
-
Constructor Summary
Constructors Constructor Description HistoryEntryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSingleResult(de.valtech.aecu.api.service.ExecutionResult result)Adds a single result.DategetEnd()StringgetRepositoryPath()de.valtech.aecu.api.service.HistoryEntry.RESULTgetResult()List<de.valtech.aecu.api.service.ExecutionResult>getSingleResults()DategetStart()de.valtech.aecu.api.service.HistoryEntry.STATEgetState()voidsetEnd(Date end)Sets the end date.voidsetRepositoryPath(String path)Sets the node path.voidsetStart(Date start)Sets the start date.voidsetState(de.valtech.aecu.api.service.HistoryEntry.STATE state)StringtoString()
-
-
-
Method Detail
-
getStart
public Date getStart()
- Specified by:
getStartin interfacede.valtech.aecu.api.service.HistoryEntry
-
getEnd
public Date getEnd()
- Specified by:
getEndin interfacede.valtech.aecu.api.service.HistoryEntry
-
getSingleResults
public List<de.valtech.aecu.api.service.ExecutionResult> getSingleResults()
- Specified by:
getSingleResultsin interfacede.valtech.aecu.api.service.HistoryEntry
-
addSingleResult
public void addSingleResult(de.valtech.aecu.api.service.ExecutionResult result)
Adds a single result.- Parameters:
result- result
-
getState
public de.valtech.aecu.api.service.HistoryEntry.STATE getState()
- Specified by:
getStatein interfacede.valtech.aecu.api.service.HistoryEntry
-
getResult
public de.valtech.aecu.api.service.HistoryEntry.RESULT getResult()
- Specified by:
getResultin interfacede.valtech.aecu.api.service.HistoryEntry
-
getRepositoryPath
public String getRepositoryPath()
- Specified by:
getRepositoryPathin interfacede.valtech.aecu.api.service.HistoryEntry
-
setStart
public void setStart(Date start)
Sets the start date.- Parameters:
start- start date
-
setEnd
public void setEnd(Date end)
Sets the end date.- Parameters:
end- end date
-
setRepositoryPath
public void setRepositoryPath(String path)
Sets the node path.- Parameters:
path- node path
-
setState
public void setState(de.valtech.aecu.api.service.HistoryEntry.STATE state)
-
-