Class DataTransferBaseBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.DataTransferBaseBean
- All Implemented Interfaces:
OjbImplementedBean
,CollectionSizeBean
,ArrivalMonitoringParameters
,DataTransfer
,TransferMonitoringParameters
,ecmwf.web.model.ModelBean
- Direct Known Subclasses:
DataTransferHeavyBean
,DataTransferLightBean
public class DataTransferBaseBean
extends ecmwf.web.dao.ModelBeanBase
implements DataTransfer, OjbImplementedBean
The Class DataTransferBaseBean.
-
Field Summary
Fields inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.ArrivalMonitoringParameters
ANTICIPATION_TARGET1, ANTICIPATION_TARGET2, ANTICIPATION_TARGET3, ANTICIPATION_TARGET4, ARRIVAL_STATUS_BEFORE_PREDICTED, ARRIVAL_STATUS_BEFORE_TARGET1, ARRIVAL_STATUS_BEFORE_TARGET2, ARRIVAL_STATUS_NONE, ARRIVAL_STATUS_NOT_BEFORE_TARGET2, ARRIVAL_STATUS_NOT_BEFORE_TARGET3, ARRIVAL_STATUS_NOT_BEFORE_TARGET4, ARRIVAL_STATUS_OPERATORS_OK, COLORS
Fields inherited from interface ecmwf.ecpds.master.plugin.http.model.transfer.TransferMonitoringParameters
DAYS_TO_CONSIDER_BACK, TRANSFER_STATUS_BEFORE_PREDICTED, TRANSFER_STATUS_BEFORE_PREDICTED_PLUS_RANGE_BY_2, TRANSFER_STATUS_BEFORE_TARGET, TRANSFER_STATUS_NONE, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_2, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_4, TRANSFER_STATUS_NOT_BEFORE_PREDICTED_PLUS_RANGE_BY_6, TRANSFER_STATUS_OPERATORS_OK
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DataTransferBaseBean
(DataTransfer transfer) Instantiates a new data transfer base bean. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.boolean
Equals.Gets the arrival earliest time.Gets the arrival latest time.Gets the arrival monitoring parameters.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.boolean
getAsap()
Gets the asap.boolean
Gets the backup.Gets the backup host.Gets the backup host name.Gets the bean interface name.boolean
Gets the can be downloaded.boolean
Gets the can be put on hold.boolean
Gets the can be requeued.boolean
Gets the can be stopped.int
Gets the collection size.Gets the comment.getCopy()
Gets the copy.Gets the data file.long
Gets the data file id.boolean
Gets the deleted.Gets the destination.Gets the destination name.Gets the detailed status.long
Gets the duration.Gets the earliest time.boolean
Gets the expired.Gets the expiry date.Gets the failed time.The FIRST TIME a file is SUCCESSFULLY transferred.Gets the formatted comment.Gets the formatted duration.Gets the formatted sent.Gets the formatted size.Gets the formatted status.Gets the formatted transfer rate.double
Gets the formatted transfer rate in M bits per seconds.getHost()
Gets the host.Gets the host name.Gets the host nick name.getId()
Gets the id.Gets the identity.Gets the latest time.Gets the member state detailed status.Gets the member state formatted status.Gets the ojb implementation.Gets the older transfers for same data file.Gets the predicted time.int
Gets the priority.int
Gets the progress.boolean
getProxy()
Gets the proxy.Gets the proxy host.Gets the proxy host name.Gets the queue time.The date of the LAST TIME a file transfer is finished, successfully OR NOT.boolean
Gets the replicated.int
Gets the requeue count.Gets the retrieval progress.Gets the retry time.Gets the scheduled time.getScheduledTimeMinusMinutes
(int minutesBefore) Gets the scheduled time minus minutes.long
getSent()
Gets the sent.long
getSize()
Gets the size.int
Gets the start count.Gets the start time.Gets the status.Gets the status code.Gets the target.Gets the target time.Gets the transfer earliest time.Gets the transfer history.Gets the transfer history after scheduled time.Gets the transfer latest time.Gets the transfer monitoring parameters.Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest.long
Gets the transfer rate.Gets the transfer server.Gets the transfer server name.int
Gets the transfer status.Gets the transfer status hex color.The "aimed" transfer finish time.Gets the unique key.ecmwf.web.model.users.User
getUser()
Gets the user.int
hashCode()
Hash code.void
interruptRetrieval
(ecmwf.web.model.users.User u) Interrupt retrieval.boolean
isRetry()
Checks if is retry.void
putOnHold
(ecmwf.web.model.users.User u) Put on hold.void
requeue
(ecmwf.web.model.users.User u) Requeue.void
scheduleNow
(ecmwf.web.model.users.User u) Schedule now.void
setBackupHostName
(String name) Sets the backup host name.void
setDataFileId
(long param) Sets the data file id.void
setDataFileId
(String param) Sets the data file id.void
setDestinationName
(String param) Sets the destination name.void
setDuration
(long l) Sets the duration.void
setExpiryDate
(Date param) Sets the expiry date.void
setExpiryDate
(Date date, ecmwf.web.model.users.User u) Sets the expiry date.void
setFinishTime
(Date param) Sets the finish time.void
setHostName
(String param) Sets the host name.void
setPriority
(int i) Sets the priority.void
setPriority
(int param, ecmwf.web.model.users.User u) Sets the priority.void
setProxyHostName
(String name) Sets the proxy host name.void
setRetry
(boolean retry) Sets the retry.void
setSent
(long l) Sets the sent.void
setStartCount
(int i) Sets the start count.void
setStartTime
(Date param) Sets the start time.void
Sets the status.void
Sets the target.void
setTransferServerName
(String param) Sets the transfer server name.void
setUser
(ecmwf.web.model.users.User user) Sets the user.void
stop
(ecmwf.web.model.users.User u) Stop.toString()
To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
-
Constructor Details
-
DataTransferBaseBean
Instantiates a new data transfer base bean.- Parameters:
transfer
- the transfer
-
-
Method Details
-
setUser
public void setUser(ecmwf.web.model.users.User user) Sets the user. Sets the user.- Specified by:
setUser
in interfaceDataTransfer
- Parameters:
user
- the new user
-
getUser
public ecmwf.web.model.users.User getUser()Gets the user. Gets the user.- Specified by:
getUser
in interfaceDataTransfer
- Returns:
- the user
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id.- Specified by:
getId
in interfaceecmwf.web.model.ModelBean
- Overrides:
getId
in classecmwf.web.dao.ModelBeanBase
-
getBackup
public boolean getBackup()Gets the backup. Gets the backup.- Specified by:
getBackup
in interfaceDataTransfer
- Returns:
- the backup
-
getProxy
public boolean getProxy()Gets the proxy. Gets the proxy.- Specified by:
getProxy
in interfaceDataTransfer
- Returns:
- the proxy
-
getBackupHostName
Gets the backup host name. Gets the backup host name.- Specified by:
getBackupHostName
in interfaceDataTransfer
- Returns:
- the backup host name
-
getProxyHostName
Gets the proxy host name. Gets the proxy host name.- Specified by:
getProxyHostName
in interfaceDataTransfer
- Returns:
- the proxy host name
-
getBackupHost
Gets the backup host. Gets the backup host.- Specified by:
getBackupHost
in interfaceDataTransfer
- Returns:
- the backup host
- Throws:
TransferException
- the transfer exception
-
getProxyHost
Gets the proxy host. Gets the proxy host.- Specified by:
getProxyHost
in interfaceDataTransfer
- Returns:
- the proxy host
- Throws:
TransferException
- the transfer exception
-
getReplicated
public boolean getReplicated()Gets the replicated. Gets the replicated.- Specified by:
getReplicated
in interfaceDataTransfer
- Returns:
- the replicated
-
getUniqueKey
Gets the unique key. Gets the unique key.- Specified by:
getUniqueKey
in interfaceDataTransfer
- Returns:
- the unique key
-
getComment
Gets the comment. Gets the comment.- Specified by:
getComment
in interfaceDataTransfer
- Returns:
- the comment
-
getFormattedComment
Gets the formatted comment. Gets the formatted comment.- Specified by:
getFormattedComment
in interfaceDataTransfer
- Returns:
- the formatted comment
-
getIdentity
Gets the identity. Gets the identity.- Specified by:
getIdentity
in interfaceDataTransfer
- Returns:
- the identity
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementation
in interfaceOjbImplementedBean
- Returns:
- the ojb implementation
-
getDataFile
Gets the data file. Gets the data file.- Specified by:
getDataFile
in interfaceDataTransfer
- Returns:
- the data file
- Throws:
TransferException
- the transfer exception
-
getArrivalMonitoringParameters
Gets the arrival monitoring parameters.- Returns:
- the arrival monitoring parameters
- Throws:
TransferException
- the transfer exception
-
getTransferMonitoringParameters
Gets the transfer monitoring parameters.- Returns:
- the transfer monitoring parameters
- Throws:
TransferException
- the transfer exception
-
getDataFileId
public long getDataFileId()Gets the data file id. Gets the data file id.- Specified by:
getDataFileId
in interfaceDataTransfer
- Returns:
- the data file id
-
getDeleted
public boolean getDeleted()Gets the deleted. Gets the deleted.- Specified by:
getDeleted
in interfaceDataTransfer
- Returns:
- the deleted
-
getDestination
Gets the destination. Gets the destination.- Specified by:
getDestination
in interfaceDataTransfer
- Returns:
- the destination
- Throws:
TransferException
- the transfer exception
-
getDestinationName
Gets the destination name. Gets the destination name.- Specified by:
getDestinationName
in interfaceDataTransfer
- Returns:
- the destination name
-
getExpiryDate
Gets the expiry date. Gets the expiry date.- Specified by:
getExpiryDate
in interfaceDataTransfer
- Returns:
- the expiry date
-
getExpired
public boolean getExpired()Gets the expired. Gets the expired.- Specified by:
getExpired
in interfaceDataTransfer
- Returns:
- the expired
-
getHost
Gets the host. Gets the host.- Specified by:
getHost
in interfaceDataTransfer
- Returns:
- the host
- Throws:
TransferException
- the transfer exception
-
getHostNickName
Gets the host nick name. Gets the host nick name.- Specified by:
getHostNickName
in interfaceDataTransfer
- Returns:
- the host nick name
-
getCollectionSize
public int getCollectionSize()Gets the collection size. Gets the collection size.- Specified by:
getCollectionSize
in interfaceCollectionSizeBean
- Returns:
- the collection size
-
getHostName
Gets the host name. Gets the host name.- Specified by:
getHostName
in interfaceDataTransfer
- Returns:
- the host name
-
getPriority
public int getPriority()Gets the priority. Gets the priority.- Specified by:
getPriority
in interfaceDataTransfer
- Returns:
- the priority
-
setPriority
Sets the priority.- Parameters:
i
- the new priority- Throws:
TransferException
- the transfer exception
-
getStartTime
Gets the start time. Gets the start time.- Specified by:
getStartTime
in interfaceDataTransfer
- Returns:
- the start time
-
getRetryTime
Gets the retry time. Gets the retry time.- Specified by:
getRetryTime
in interfaceDataTransfer
- Returns:
- the retry time
-
getFailedTime
Gets the failed time. Gets the failed time.- Specified by:
getFailedTime
in interfaceDataTransfer
- Returns:
- the failed time
-
getScheduledTimeMinusMinutes
Gets the scheduled time minus minutes. Gets the scheduled time minus minutes.- Specified by:
getScheduledTimeMinusMinutes
in interfaceDataTransfer
- Parameters:
minutesBefore
- the minutes before- Returns:
- the scheduled time minus minutes
-
getFinishTime
The FIRST TIME a file is SUCCESSFULLY transferred. Even if it is requeued later and re-sent, this value won't change. This is to be used for monitoring, because operators don't want to be Gets the finish time.- Specified by:
getFinishTime
in interfaceDataTransfer
- Returns:
- the finish time
-
getRealFinishTime
The date of the LAST TIME a file transfer is finished, successfully OR NOT. Gets the real finish time.- Specified by:
getRealFinishTime
in interfaceDataTransfer
- Returns:
- the real finish time
-
getScheduledTime
Gets the scheduled time. Gets the scheduled time.- Specified by:
getScheduledTime
in interfaceDataTransfer
- Returns:
- the scheduled time
-
getQueueTime
Gets the queue time. Gets the queue time.- Specified by:
getQueueTime
in interfaceDataTransfer
- Returns:
- the queue time
-
getPredictedTime
Gets the predicted time. Gets the predicted time.- Specified by:
getPredictedTime
in interfaceDataTransfer
- Returns:
- the predicted time
-
getEarliestTime
Gets the earliest time. Gets the earliest time.- Specified by:
getEarliestTime
in interfaceDataTransfer
- Returns:
- the earliest time
-
getLatestTime
Gets the latest time. Gets the latest time.- Specified by:
getLatestTime
in interfaceDataTransfer
- Returns:
- the latest time
-
getTargetTime
Gets the target time. Gets the target time.- Specified by:
getTargetTime
in interfaceDataTransfer
- Returns:
- the target time
-
getStartCount
public int getStartCount()Gets the start count. Gets the start count.- Specified by:
getStartCount
in interfaceDataTransfer
- Returns:
- the start count
-
getRequeueCount
public int getRequeueCount()Gets the requeue count. Gets the requeue count.- Specified by:
getRequeueCount
in interfaceDataTransfer
- Returns:
- the requeue count
-
setStartCount
public void setStartCount(int i) Sets the start count. Sets the start count.- Specified by:
setStartCount
in interfaceDataTransfer
- Parameters:
i
- the new start count
-
getStatus
Gets the status. Gets the status.- Specified by:
getStatus
in interfaceDataTransfer
- Returns:
- the status
- Throws:
TransferException
- the transfer exception
-
getFormattedStatus
Gets the formatted status. Gets the formatted status.- Specified by:
getFormattedStatus
in interfaceDataTransfer
- Returns:
- the formatted status
- Throws:
TransferException
- the transfer exception
-
getMemberStateFormattedStatus
Gets the member state formatted status. Gets the member state formatted status.- Specified by:
getMemberStateFormattedStatus
in interfaceDataTransfer
- Returns:
- the member state formatted status
- Throws:
TransferException
- the transfer exception
-
getDetailedStatus
Gets the detailed status. Gets the detailed status.- Specified by:
getDetailedStatus
in interfaceDataTransfer
- Returns:
- the detailed status
- Throws:
TransferException
- the transfer exception
-
getMemberStateDetailedStatus
Gets the member state detailed status. Gets the member state detailed status.- Specified by:
getMemberStateDetailedStatus
in interfaceDataTransfer
- Returns:
- the member state detailed status
- Throws:
TransferException
- the transfer exception
-
getStatusCode
Gets the status code. Gets the status code.- Specified by:
getStatusCode
in interfaceDataTransfer
- Returns:
- the status code
-
getTarget
Gets the target. Gets the target.- Specified by:
getTarget
in interfaceDataTransfer
- Returns:
- the target
-
getTransferServer
Gets the transfer server. Gets the transfer server.- Specified by:
getTransferServer
in interfaceDataTransfer
- Returns:
- the transfer server
- Throws:
TransferException
- the transfer exception
-
getTransferHistory
Gets the transfer history. Gets the transfer history.- Specified by:
getTransferHistory
in interfaceDataTransfer
- Returns:
- the transfer history
- Throws:
TransferException
- the transfer exception
-
getTransferHistoryAfterScheduledTime
Gets the transfer history after scheduled time. Gets the transfer history after scheduled time.- Specified by:
getTransferHistoryAfterScheduledTime
in interfaceDataTransfer
- Returns:
- the transfer history after scheduled time
- Throws:
TransferException
- the transfer exception
-
getOlderTransfersForSameDataFile
Gets the older transfers for same data file. Gets the older transfers for same data file.- Specified by:
getOlderTransfersForSameDataFile
in interfaceDataTransfer
- Returns:
- the older transfers for same data file
- Throws:
TransferException
- the transfer exception
-
setDataFileId
public void setDataFileId(long param) Sets the data file id. Sets the data file id.- Specified by:
setDataFileId
in interfaceDataTransfer
- Parameters:
param
- the new data file id
-
setDataFileId
Sets the data file id.- Parameters:
param
- the new data file id
-
setDestinationName
Sets the destination name. Sets the destination name.- Specified by:
setDestinationName
in interfaceDataTransfer
- Parameters:
param
- the new destination name
-
setExpiryDate
Sets the expiry date. Sets the expiry date.- Specified by:
setExpiryDate
in interfaceDataTransfer
- Parameters:
param
- the new expiry date
-
setHostName
Sets the host name. Sets the host name.- Specified by:
setHostName
in interfaceDataTransfer
- Parameters:
param
- the new host name
-
setBackupHostName
Sets the backup host name. Sets the backup host name.- Specified by:
setBackupHostName
in interfaceDataTransfer
- Parameters:
name
- the new backup host name
-
setProxyHostName
Sets the proxy host name. Sets the proxy host name.- Specified by:
setProxyHostName
in interfaceDataTransfer
- Parameters:
name
- the new proxy host name
-
setPriority
Sets the priority. Sets the priority.- Specified by:
setPriority
in interfaceDataTransfer
- Parameters:
param
- the pu
- the u- Throws:
TransferException
- the transfer exception
-
setExpiryDate
Sets the expiry date. Sets the expiry date.- Specified by:
setExpiryDate
in interfaceDataTransfer
- Parameters:
date
- the dateu
- the u- Throws:
TransferException
- the transfer exception
-
setStartTime
Sets the start time. Sets the start time.- Specified by:
setStartTime
in interfaceDataTransfer
- Parameters:
param
- the new start time
-
setFinishTime
Sets the finish time. Sets the finish time.- Specified by:
setFinishTime
in interfaceDataTransfer
- Parameters:
param
- the new finish time
-
setStatus
Sets the status. Sets the status.- Specified by:
setStatus
in interfaceDataTransfer
- Parameters:
param
- the new status
-
setTarget
Sets the target. Sets the target.- Specified by:
setTarget
in interfaceDataTransfer
- Parameters:
param
- the new target
-
setTransferServerName
Sets the transfer server name. Sets the transfer server name.- Specified by:
setTransferServerName
in interfaceDataTransfer
- Parameters:
param
- the new transfer server name
-
getRetrievalProgress
Gets the retrieval progress. Gets the retrieval progress.- Specified by:
getRetrievalProgress
in interfaceDataTransfer
- Returns:
- the retrieval progress
- Throws:
TransferException
- the transfer exception
-
getTransferServerName
Gets the transfer server name. Gets the transfer server name.- Specified by:
getTransferServerName
in interfaceDataTransfer
- Returns:
- the transfer server name
-
getProgress
Gets the progress. Gets the progress.- Specified by:
getProgress
in interfaceDataTransfer
- Returns:
- the progress
- Throws:
TransferException
- the transfer exception
-
getSent
Gets the sent. Gets the sent.- Specified by:
getSent
in interfaceDataTransfer
- Returns:
- the sent
- Throws:
TransferException
- the transfer exception
-
getDuration
public long getDuration()Gets the duration. Gets the duration.- Specified by:
getDuration
in interfaceDataTransfer
- Returns:
- the duration
-
getAsap
public boolean getAsap()Gets the asap. Gets the asap.- Specified by:
getAsap
in interfaceDataTransfer
- Returns:
- the asap
-
getTransferRate
Gets the transfer rate. Gets the transfer rate.- Specified by:
getTransferRate
in interfaceDataTransfer
- Returns:
- the transfer rate
- Throws:
TransferException
- the transfer exception
-
getFormattedTransferRate
Gets the formatted transfer rate. Gets the formatted transfer rate.- Specified by:
getFormattedTransferRate
in interfaceDataTransfer
- Returns:
- the formatted transfer rate
- Throws:
TransferException
- the transfer exception
-
getFormattedTransferRateInMBitsPerSeconds
Gets the formatted transfer rate in M bits per seconds. Gets the formatted transfer rate in M bits per seconds.- Specified by:
getFormattedTransferRateInMBitsPerSeconds
in interfaceDataTransfer
- Returns:
- the formatted transfer rate in M bits per seconds
- Throws:
TransferException
- the transfer exception
-
getFormattedDuration
Gets the formatted duration. Gets the formatted duration.- Specified by:
getFormattedDuration
in interfaceDataTransfer
- Returns:
- the formatted duration
- Throws:
TransferException
- the transfer exception
-
getFormattedSent
Gets the formatted sent. Gets the formatted sent.- Specified by:
getFormattedSent
in interfaceDataTransfer
- Returns:
- the formatted sent
- Throws:
TransferException
- the transfer exception
-
setSent
public void setSent(long l) Sets the sent. Sets the sent.- Specified by:
setSent
in interfaceDataTransfer
- Parameters:
l
- the new sent
-
setDuration
public void setDuration(long l) Sets the duration. Sets the duration.- Specified by:
setDuration
in interfaceDataTransfer
- Parameters:
l
- the new duration
-
getSize
public long getSize()Gets the size. Gets the size.- Specified by:
getSize
in interfaceDataTransfer
- Returns:
- the size
-
getFormattedSize
Gets the formatted size. Gets the formatted size.- Specified by:
getFormattedSize
in interfaceDataTransfer
- Returns:
- the formatted size
-
isRetry
public boolean isRetry()Checks if is retry. Checks if is retry.- Specified by:
isRetry
in interfaceDataTransfer
- Returns:
- true, if is retry
-
setRetry
public void setRetry(boolean retry) Sets the retry. Sets the retry.- Specified by:
setRetry
in interfaceDataTransfer
- Parameters:
retry
- the new retry
-
getArrivalTargetTime
TODO: The OFFSET should be configurable, not harcoded. Gets the arrival target time.- Specified by:
getArrivalTargetTime
in interfaceArrivalMonitoringParameters
- 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. Gets the arrival predicted time.- Specified by:
getArrivalPredictedTime
in interfaceArrivalMonitoringParameters
- Returns:
- Predicted value for arrival this time.
- Throws:
TransferException
- the transfer exception
-
getArrivalStatus
Gets the arrival status. Gets the arrival status.- Specified by:
getArrivalStatus
in interfaceArrivalMonitoringParameters
- Returns:
- A status calculated as a function of all other four values
- Throws:
TransferException
- the transfer exception
-
getArrivalEarliestTime
Gets the arrival earliest time. Gets the arrival earliest time.- Specified by:
getArrivalEarliestTime
in interfaceArrivalMonitoringParameters
- Returns:
- The earliest file arrival time for a default number of days
- Throws:
TransferException
- the transfer exception
-
getArrivalLatestTime
Gets the arrival latest time. Gets the arrival latest time.- Specified by:
getArrivalLatestTime
in interfaceArrivalMonitoringParameters
- Returns:
- The latest file arrival time for a default number of days
- Throws:
TransferException
- the transfer exception
-
getTransferTargetTime
The "aimed" transfer finish time. Gets the transfer target time.- Specified by:
getTransferTargetTime
in interfaceTransferMonitoringParameters
- 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. Gets the transfer predicted time.- Specified by:
getTransferPredictedTime
in interfaceTransferMonitoringParameters
- Returns:
- Predicted value for arrival this time.
- Throws:
TransferException
- the transfer exception
-
getTransferStatus
Gets the transfer status. Gets the transfer status.- Specified by:
getTransferStatus
in interfaceTransferMonitoringParameters
- Returns:
- A calculated value based on the other three parameters.
- Throws:
TransferException
- the transfer exception
-
getTransferStatusHexColor
Gets the transfer status hex color. Gets the transfer status hex color.- Specified by:
getTransferStatusHexColor
in interfaceTransferMonitoringParameters
- Returns:
- the transfer status hex color
- Throws:
TransferException
- the transfer exception
-
getTransferEarliestTime
Gets the transfer earliest time. Gets the transfer earliest time.- Specified by:
getTransferEarliestTime
in interfaceTransferMonitoringParameters
- Returns:
- The earliest transfer finish time for a default number of days
- Throws:
TransferException
- the transfer exception
-
getTransferLatestTime
Gets the transfer latest time. Gets the transfer latest time.- Specified by:
getTransferLatestTime
in interfaceTransferMonitoringParameters
- Returns:
- The latest transfer finish time for a default number of days
- Throws:
TransferException
- the transfer exception
-
getCopy
Gets the copy. Gets the copy.- Specified by:
getCopy
in interfaceDataTransfer
- Returns:
- the copy
-
putOnHold
Put on hold. Put on hold.- Specified by:
putOnHold
in interfaceDataTransfer
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
stop
Stop. Stop.- Specified by:
stop
in interfaceDataTransfer
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
scheduleNow
Schedule now. Schedule now.- Specified by:
scheduleNow
in interfaceDataTransfer
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
getCanBePutOnHold
public boolean getCanBePutOnHold()Gets the can be put on hold. Gets the can be put on hold.- Specified by:
getCanBePutOnHold
in interfaceDataTransfer
- Returns:
- the can be put on hold
-
getCanBeStopped
public boolean getCanBeStopped()Gets the can be stopped. Gets the can be stopped.- Specified by:
getCanBeStopped
in interfaceDataTransfer
- Returns:
- the can be stopped
-
getCanBeDownloaded
public boolean getCanBeDownloaded()Gets the can be downloaded. Gets the can be downloaded.- Specified by:
getCanBeDownloaded
in interfaceDataTransfer
- Returns:
- the can be downloaded
-
interruptRetrieval
Interrupt retrieval. Interrupt retrieval.- Specified by:
interruptRetrieval
in interfaceDataTransfer
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
requeue
Requeue. Requeue.- Specified by:
requeue
in interfaceDataTransfer
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
getCanBeRequeued
public boolean getCanBeRequeued()Gets the can be requeued. Gets the can be requeued.- Specified by:
getCanBeRequeued
in interfaceDataTransfer
- Returns:
- the can be requeued
-
equals
-
equals
Equals.- Parameters:
d
- the d- Returns:
- true, if successful
-
hashCode
-
toString
-