Interface TransferMonitoringParameters
- All Superinterfaces:
ecmwf.web.model.ModelBean
- All Known Subinterfaces:
DataTransfer
- All Known Implementing Classes:
DataTransferBaseBean
,DataTransferHeavyBean
,DataTransferLightBean
,TransferMonitoringParametersBean
public interface TransferMonitoringParameters
extends ecmwf.web.model.ModelBean
The Interface TransferMonitoringParameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The days to consider back.static final int
The transfer status before predicted.static final int
The transfer status before predicted plus range by 2.static final int
The transfer status before target.static final int
The transfer status none.static final int
The transfer status not before predicted plus range by 2.static final int
The transfer status not before predicted plus range by 4.static final int
The transfer status not before predicted plus range by 6.static final int
The transfer status operators ok. -
Method Summary
Modifier and TypeMethodDescriptionGets the transfer earliest time.Gets the transfer latest time.Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest.int
Gets the transfer status.Gets the transfer status hex color.The "aimed" transfer finish time.Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getBeanInterfaceName, getId, getIntId, insert, insert, isNew, save, save, setId
-
Field Details
-
DAYS_TO_CONSIDER_BACK
static final int DAYS_TO_CONSIDER_BACKThe days to consider back.- See Also:
-
TRANSFER_STATUS_NONE
static final int TRANSFER_STATUS_NONEThe transfer status none.- See Also:
-
TRANSFER_STATUS_BEFORE_TARGET
static final int TRANSFER_STATUS_BEFORE_TARGETThe transfer status before target.- See Also:
-
TRANSFER_STATUS_BEFORE_PREDICTED
static final int TRANSFER_STATUS_BEFORE_PREDICTEDThe transfer status before predicted.- See Also:
-
TRANSFER_STATUS_BEFORE_PREDICTED_PLUS_RANGE_BY_2
static final int TRANSFER_STATUS_BEFORE_PREDICTED_PLUS_RANGE_BY_2The transfer status before predicted plus range by 2.- See Also:
-
TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_2
static final int TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_2The transfer status not before predicted plus range by 2.- See Also:
-
TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_4
static final int TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_4The transfer status not before predicted plus range by 4.- See Also:
-
TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_6
static final int TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_6The transfer status not before predicted plus range by 6.- See Also:
-
TRANSFER_STATUS_OPERATORS_OK
static final int TRANSFER_STATUS_OPERATORS_OKThe transfer status operators ok. The status to which things are reset after transmission is ok in the operators display.- See Also:
-
-
Method Details
-
getTransferTargetTime
The "aimed" transfer finish time.- Returns:
- The best possible time, based on line capacity and ideal conditions of pressure and temperature ;-)
- Throws:
TransferException
- the transfer exception
-
getTransferPredictedTime
Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest.- Returns:
- Predicted value for arrival this time.
- Throws:
TransferException
- the transfer exception
-
getTransferStatus
Gets the transfer status.- Returns:
- A calculated value based on the other three parameters.
- Throws:
TransferException
- the transfer exception
-
getTransferStatusHexColor
Gets the transfer status hex color.- Returns:
- the transfer status hex color
- Throws:
TransferException
- the transfer exception
-
getTransferEarliestTime
Gets the transfer earliest time.- Returns:
- The earliest transfer finish time for a default number of days
- Throws:
TransferException
- the transfer exception
-
getTransferLatestTime
Gets the transfer latest time.- Returns:
- The latest transfer finish time for a default number of days
- Throws:
TransferException
- the transfer exception
-