Interface ArrivalMonitoringParameters
- All Superinterfaces:
ecmwf.web.model.ModelBean
- All Known Subinterfaces:
DataTransfer
- All Known Implementing Classes:
ArrivalMonitoringParametersBean
,DataTransferBaseBean
,DataTransferHeavyBean
,DataTransferLightBean
public interface ArrivalMonitoringParameters
extends ecmwf.web.model.ModelBean
The Interface ArrivalMonitoringParameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The anticipation target1.static final int
The anticipation target2.static final int
The anticipation target3.static final int
The anticipation target4.static final int
The arrival status before predicted.static final int
The arrival status before target1.static final int
The arrival status before target2.static final int
The arrival status none.static final int
The arrival status not before target2.static final int
The arrival status not before target3.static final int
The arrival status not before target4.static final int
The arrival status operators ok.static final Color[]
The colors. -
Method Summary
Modifier and TypeMethodDescriptionGets the arrival earliest time.Gets the arrival latest time.Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest.int
Gets the arrival status.TODO: The OFFSET should be configurable, not harcoded.Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setId
-
Field Details
-
ARRIVAL_STATUS_NONE
static final int ARRIVAL_STATUS_NONEThe arrival status none.- See Also:
-
ARRIVAL_STATUS_BEFORE_TARGET1
static final int ARRIVAL_STATUS_BEFORE_TARGET1The arrival status before target1.- See Also:
-
ARRIVAL_STATUS_BEFORE_PREDICTED
static final int ARRIVAL_STATUS_BEFORE_PREDICTEDThe arrival status before predicted.- See Also:
-
ARRIVAL_STATUS_BEFORE_TARGET2
static final int ARRIVAL_STATUS_BEFORE_TARGET2The arrival status before target2.- See Also:
-
ARRIVAL_STATUS_NOT_BEFORE_TARGET2
static final int ARRIVAL_STATUS_NOT_BEFORE_TARGET2The arrival status not before target2.- See Also:
-
ARRIVAL_STATUS_NOT_BEFORE_TARGET3
static final int ARRIVAL_STATUS_NOT_BEFORE_TARGET3The arrival status not before target3.- See Also:
-
ARRIVAL_STATUS_NOT_BEFORE_TARGET4
static final int ARRIVAL_STATUS_NOT_BEFORE_TARGET4The arrival status not before target4.- See Also:
-
COLORS
The colors. -
ANTICIPATION_TARGET1
static final int ANTICIPATION_TARGET1The anticipation target1.- See Also:
-
ANTICIPATION_TARGET2
static final int ANTICIPATION_TARGET2The anticipation target2.- See Also:
-
ANTICIPATION_TARGET3
static final int ANTICIPATION_TARGET3The anticipation target3.- See Also:
-
ANTICIPATION_TARGET4
static final int ANTICIPATION_TARGET4The anticipation target4.- See Also:
-
ARRIVAL_STATUS_OPERATORS_OK
static final int ARRIVAL_STATUS_OPERATORS_OKThe arrival status operators ok. The status to which things are reset after transmission is ok in the operators display.- See Also:
-
-
Method Details
-
getArrivalTargetTime
TODO: The OFFSET should be configurable, not harcoded.- Returns:
- Schedule time - OFFSET (=75m). This is a general target arbitrarily assigned my management
- Throws:
TransferException
- the transfer exception
-
getArrivalPredictedTime
Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest.- Returns:
- Predicted value for arrival this time.
- Throws:
TransferException
- the transfer exception
-
getArrivalStatus
Gets the arrival status.- Returns:
- A status calculated as a function of all other four values
- Throws:
TransferException
- the transfer exception
-
getArrivalEarliestTime
Gets the arrival earliest time.- Returns:
- The earliest file arrival time for a default number of days
- Throws:
TransferException
- the transfer exception
-
getArrivalLatestTime
Gets the arrival latest time.- Returns:
- The latest file arrival time for a default number of days
- Throws:
TransferException
- the transfer exception
-