Class ReportStatusWatcher
java.lang.Object
com.inductiveautomation.reporting.gateway.ReportStatusWatcher
- All Implemented Interfaces:
- Comparable
Filename: ReportStatusWatcher.java
 Created on Apr 20, 2015
 Author: Kathy Applebaum
 Copyright Inductive Automation 2015
 Project: Reporting
 
Gives sortable data for the ReportStatusView panel in the Gateway. Access these through ReportStatusManager.getStatusList()
- Since:
- 7.8.0
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintTime the ReportExecutionContext was createdgetJson()longgetPath()Report pathName of the projectCurrent statusgetUuid()booleanbooleanvoidsetExecFinish(Date execFinish) voidsetExecStart(Date execStart) voidvoidsetProject(String project) voidsetStatus(ReportExecutionStatus status) void
- 
Field Details- 
project
- 
path
- 
status
- 
execStart
- 
execFinish
- 
uuid
 
- 
- 
Constructor Details- 
ReportStatusWatcherpublic ReportStatusWatcher()
 
- 
- 
Method Details- 
getProjectName of the project
- 
setProject
- 
getPathReport path
- 
setPath
- 
getStatusCurrent status
- 
setStatus
- 
getExecStartTime the ReportExecutionContext was created
- 
setExecStart
- 
getExecFinish
- 
setExecFinish
- 
getTimeElapsed- Returns:
- If finished, formatted time between start and finish, otherwise formatted time between start and now.
 
- 
getMillisElapsedpublic long getMillisElapsed()
- 
getUuid
- 
setUuid
- 
isFinishingpublic boolean isFinishing()
- 
canCancelpublic boolean canCancel()
- 
isCanceledpublic boolean isCanceled()
- 
compareTo- Specified by:
- compareToin interface- Comparable
 
- 
getJson- Throws:
- JSONException
 
 
-