Interface GenerationMonitoringStatus
- All Superinterfaces:
ecmwf.web.model.ModelBean
- All Known Subinterfaces:
DestinationProductStatus
,ProductStatus
,ProductStepStatus
- All Known Implementing Classes:
DestinationProductStatusBean
,ProductStatusBean
,ProductStepStatusBean
public interface GenerationMonitoringStatus
extends ecmwf.web.model.ModelBean
The Interface GenerationMonitoringStatus.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The status 0 ahead.static final int
The status 15 0 ahead.static final int
The status 30 15 ahead.static final int
The status more than 30 ahead.static final int
The status none.static final int
The status not received.static final int
The status ok. -
Method Summary
Modifier and TypeMethodDescriptionGets the arrival time.int
Gets the generation status.Gets the generation status code.Gets the generation status formatted code.Gets the last update.long
Gets the minutes before schedule.Gets the product time.Gets the scheduled time.void
Refresh status.void
reset()
We are changing to another Time period, reset monitoring values.void
setGenerationStatus
(int i) Sets the generation status.void
Sets the generation status code.void
Sets the generation status from code.void
Sets the last update.void
Sets the product time.void
Sets the scheduled time.Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setId
-
Field Details
-
STATUS_NONE
static final int STATUS_NONEThe status none.- See Also:
-
STATUS_MORE_THAN_30_AHEAD
static final int STATUS_MORE_THAN_30_AHEADThe status more than 30 ahead.- See Also:
-
STATUS_30_15_AHEAD
static final int STATUS_30_15_AHEADThe status 30 15 ahead.- See Also:
-
STATUS_15_0_AHEAD
static final int STATUS_15_0_AHEADThe status 15 0 ahead.- See Also:
-
STATUS_0_AHEAD
static final int STATUS_0_AHEADThe status 0 ahead.- See Also:
-
STATUS_NOT_RECEIVED
static final int STATUS_NOT_RECEIVEDThe status not received.- See Also:
-
STATUS_OK
static final int STATUS_OKThe status ok.- See Also:
-
-
Method Details
-
refreshStatus
void refreshStatus()Refresh status. -
getGenerationStatusCode
String getGenerationStatusCode()Gets the generation status code.- Returns:
- the generation status code
-
getGenerationStatusFormattedCode
String getGenerationStatusFormattedCode()Gets the generation status formatted code.- Returns:
- the generation status formatted code
-
setGenerationStatusCode
Sets the generation status code.- Parameters:
code
- the new generation status code
-
getGenerationStatus
int getGenerationStatus()Gets the generation status.- Returns:
- the generation status
-
setGenerationStatus
void setGenerationStatus(int i) Sets the generation status.- Parameters:
i
- the new generation status
-
setGenerationStatusFromCode
Sets the generation status from code.- Parameters:
code
- the new generation status from code
-
getMinutesBeforeSchedule
long getMinutesBeforeSchedule()Gets the minutes before schedule.- Returns:
- the minutes before schedule
-
getArrivalTime
-
getScheduledTime
-
setScheduledTime
-
getLastUpdate
-
setLastUpdate
-
getProductTime
-
setProductTime
-
reset
We are changing to another Time period, reset monitoring values.- Throws:
MonitoringException
- the monitoring exception
-