Class HistoryDataItem
- java.lang.Object
-
- de.valtech.aecu.core.model.history.HistoryDataItem
-
- Direct Known Subclasses:
HistorySearchItem
@Model(adaptables=org.apache.sling.api.resource.Resource.class) public class HistoryDataItem extends Object
Model class for a single history item.- Author:
- Roland Gruber
-
-
Field Summary
Fields Modifier and Type Field Description protected de.valtech.aecu.api.service.HistoryEntryhistory
-
Constructor Summary
Constructors Constructor Description HistoryDataItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDate()Returns the date of the run.StringgetDuration()Returns the duration of the run.StringgetPath()Returns the path of the run.intgetScriptCount()Returns the number of scripts that were executed.StringgetStatusColor()Returns the status color of the run.StringgetStatusIcon()Returns the status icon of the run.voidsetup()
-
-
-
Method Detail
-
setup
@PostConstruct public void setup()
-
getDate
public String getDate()
Returns the date of the run.- Returns:
- date
-
getDuration
public String getDuration()
Returns the duration of the run.- Returns:
- duration
-
getStatusIcon
public String getStatusIcon()
Returns the status icon of the run.- Returns:
- icon
-
getStatusColor
public String getStatusColor()
Returns the status color of the run.- Returns:
- icon
-
getPath
public String getPath()
Returns the path of the run.- Returns:
- path
-
getScriptCount
public int getScriptCount()
Returns the number of scripts that were executed.- Returns:
- script count
-
-