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.
  • Constructor Details

    • DataTransferBaseBean

      protected DataTransferBaseBean(DataTransfer transfer)
      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 interface DataTransfer
      Parameters:
      user - the new user
    • getUser

      public ecmwf.web.model.users.User getUser()
      Gets the user. Gets the user.
      Specified by:
      getUser in interface DataTransfer
      Returns:
      the user
    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
      Specified by:
      getBeanInterfaceName in class ecmwf.web.dao.ModelBeanBase
    • getId

      public String getId()
      Gets the id.
      Specified by:
      getId in interface ecmwf.web.model.ModelBean
      Overrides:
      getId in class ecmwf.web.dao.ModelBeanBase
    • getBackup

      public boolean getBackup()
      Gets the backup. Gets the backup.
      Specified by:
      getBackup in interface DataTransfer
      Returns:
      the backup
    • getProxy

      public boolean getProxy()
      Gets the proxy. Gets the proxy.
      Specified by:
      getProxy in interface DataTransfer
      Returns:
      the proxy
    • getBackupHostName

      public String getBackupHostName()
      Gets the backup host name. Gets the backup host name.
      Specified by:
      getBackupHostName in interface DataTransfer
      Returns:
      the backup host name
    • getProxyHostName

      public String getProxyHostName()
      Gets the proxy host name. Gets the proxy host name.
      Specified by:
      getProxyHostName in interface DataTransfer
      Returns:
      the proxy host name
    • getBackupHost

      public Host getBackupHost() throws TransferException
      Gets the backup host. Gets the backup host.
      Specified by:
      getBackupHost in interface DataTransfer
      Returns:
      the backup host
      Throws:
      TransferException - the transfer exception
    • getProxyHost

      public Host getProxyHost() throws TransferException
      Gets the proxy host. Gets the proxy host.
      Specified by:
      getProxyHost in interface DataTransfer
      Returns:
      the proxy host
      Throws:
      TransferException - the transfer exception
    • getReplicated

      public boolean getReplicated()
      Gets the replicated. Gets the replicated.
      Specified by:
      getReplicated in interface DataTransfer
      Returns:
      the replicated
    • getUniqueKey

      public String getUniqueKey()
      Gets the unique key. Gets the unique key.
      Specified by:
      getUniqueKey in interface DataTransfer
      Returns:
      the unique key
    • getComment

      public String getComment()
      Gets the comment. Gets the comment.
      Specified by:
      getComment in interface DataTransfer
      Returns:
      the comment
    • getFormattedComment

      public String getFormattedComment()
      Gets the formatted comment. Gets the formatted comment.
      Specified by:
      getFormattedComment in interface DataTransfer
      Returns:
      the formatted comment
    • getIdentity

      public String getIdentity()
      Gets the identity. Gets the identity.
      Specified by:
      getIdentity in interface DataTransfer
      Returns:
      the identity
    • getOjbImplementation

      public DataBaseObject getOjbImplementation()
      Gets the ojb implementation. Gets the ojb implementation.
      Specified by:
      getOjbImplementation in interface OjbImplementedBean
      Returns:
      the ojb implementation
    • getDataFile

      public DataFile getDataFile() throws TransferException
      Gets the data file. Gets the data file.
      Specified by:
      getDataFile in interface DataTransfer
      Returns:
      the data file
      Throws:
      TransferException - the transfer exception
    • getArrivalMonitoringParameters

      public ArrivalMonitoringParameters getArrivalMonitoringParameters() throws TransferException
      Gets the arrival monitoring parameters.
      Returns:
      the arrival monitoring parameters
      Throws:
      TransferException - the transfer exception
    • getTransferMonitoringParameters

      public TransferMonitoringParameters getTransferMonitoringParameters() throws TransferException
      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 interface DataTransfer
      Returns:
      the data file id
    • getDeleted

      public boolean getDeleted()
      Gets the deleted. Gets the deleted.
      Specified by:
      getDeleted in interface DataTransfer
      Returns:
      the deleted
    • getDestination

      public Destination getDestination() throws TransferException
      Gets the destination. Gets the destination.
      Specified by:
      getDestination in interface DataTransfer
      Returns:
      the destination
      Throws:
      TransferException - the transfer exception
    • getDestinationName

      public String getDestinationName()
      Gets the destination name. Gets the destination name.
      Specified by:
      getDestinationName in interface DataTransfer
      Returns:
      the destination name
    • getExpiryDate

      public Date getExpiryDate()
      Gets the expiry date. Gets the expiry date.
      Specified by:
      getExpiryDate in interface DataTransfer
      Returns:
      the expiry date
    • getExpired

      public boolean getExpired()
      Gets the expired. Gets the expired.
      Specified by:
      getExpired in interface DataTransfer
      Returns:
      the expired
    • getHost

      public Host getHost() throws TransferException
      Gets the host. Gets the host.
      Specified by:
      getHost in interface DataTransfer
      Returns:
      the host
      Throws:
      TransferException - the transfer exception
    • getHostNickName

      public String getHostNickName()
      Gets the host nick name. Gets the host nick name.
      Specified by:
      getHostNickName in interface DataTransfer
      Returns:
      the host nick name
    • getCollectionSize

      public int getCollectionSize()
      Gets the collection size. Gets the collection size.
      Specified by:
      getCollectionSize in interface CollectionSizeBean
      Returns:
      the collection size
    • getHostName

      public String getHostName()
      Gets the host name. Gets the host name.
      Specified by:
      getHostName in interface DataTransfer
      Returns:
      the host name
    • getPriority

      public int getPriority()
      Gets the priority. Gets the priority.
      Specified by:
      getPriority in interface DataTransfer
      Returns:
      the priority
    • setPriority

      public void setPriority(int i) throws TransferException
      Sets the priority.
      Parameters:
      i - the new priority
      Throws:
      TransferException - the transfer exception
    • getStartTime

      public Date getStartTime()
      Gets the start time. Gets the start time.
      Specified by:
      getStartTime in interface DataTransfer
      Returns:
      the start time
    • getRetryTime

      public Date getRetryTime()
      Gets the retry time. Gets the retry time.
      Specified by:
      getRetryTime in interface DataTransfer
      Returns:
      the retry time
    • getFailedTime

      public Date getFailedTime()
      Gets the failed time. Gets the failed time.
      Specified by:
      getFailedTime in interface DataTransfer
      Returns:
      the failed time
    • getScheduledTimeMinusMinutes

      public Date getScheduledTimeMinusMinutes(int minutesBefore)
      Gets the scheduled time minus minutes. Gets the scheduled time minus minutes.
      Specified by:
      getScheduledTimeMinusMinutes in interface DataTransfer
      Parameters:
      minutesBefore - the minutes before
      Returns:
      the scheduled time minus minutes
    • getFinishTime

      public Date 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 interface DataTransfer
      Returns:
      the finish time
    • getRealFinishTime

      public Date getRealFinishTime()
      The date of the LAST TIME a file transfer is finished, successfully OR NOT. Gets the real finish time.
      Specified by:
      getRealFinishTime in interface DataTransfer
      Returns:
      the real finish time
    • getScheduledTime

      public Date getScheduledTime()
      Gets the scheduled time. Gets the scheduled time.
      Specified by:
      getScheduledTime in interface DataTransfer
      Returns:
      the scheduled time
    • getQueueTime

      public Date getQueueTime()
      Gets the queue time. Gets the queue time.
      Specified by:
      getQueueTime in interface DataTransfer
      Returns:
      the queue time
    • getPredictedTime

      public Date getPredictedTime()
      Gets the predicted time. Gets the predicted time.
      Specified by:
      getPredictedTime in interface DataTransfer
      Returns:
      the predicted time
    • getEarliestTime

      public Date getEarliestTime()
      Gets the earliest time. Gets the earliest time.
      Specified by:
      getEarliestTime in interface DataTransfer
      Returns:
      the earliest time
    • getLatestTime

      public Date getLatestTime()
      Gets the latest time. Gets the latest time.
      Specified by:
      getLatestTime in interface DataTransfer
      Returns:
      the latest time
    • getTargetTime

      public Date getTargetTime()
      Gets the target time. Gets the target time.
      Specified by:
      getTargetTime in interface DataTransfer
      Returns:
      the target time
    • getStartCount

      public int getStartCount()
      Gets the start count. Gets the start count.
      Specified by:
      getStartCount in interface DataTransfer
      Returns:
      the start count
    • getRequeueCount

      public int getRequeueCount()
      Gets the requeue count. Gets the requeue count.
      Specified by:
      getRequeueCount in interface DataTransfer
      Returns:
      the requeue count
    • setStartCount

      public void setStartCount(int i)
      Sets the start count. Sets the start count.
      Specified by:
      setStartCount in interface DataTransfer
      Parameters:
      i - the new start count
    • getStatus

      public String getStatus() throws TransferException
      Gets the status. Gets the status.
      Specified by:
      getStatus in interface DataTransfer
      Returns:
      the status
      Throws:
      TransferException - the transfer exception
    • getFormattedStatus

      public String getFormattedStatus() throws TransferException
      Gets the formatted status. Gets the formatted status.
      Specified by:
      getFormattedStatus in interface DataTransfer
      Returns:
      the formatted status
      Throws:
      TransferException - the transfer exception
    • getMemberStateFormattedStatus

      public String getMemberStateFormattedStatus() throws TransferException
      Gets the member state formatted status. Gets the member state formatted status.
      Specified by:
      getMemberStateFormattedStatus in interface DataTransfer
      Returns:
      the member state formatted status
      Throws:
      TransferException - the transfer exception
    • getDetailedStatus

      public String getDetailedStatus() throws TransferException
      Gets the detailed status. Gets the detailed status.
      Specified by:
      getDetailedStatus in interface DataTransfer
      Returns:
      the detailed status
      Throws:
      TransferException - the transfer exception
    • getMemberStateDetailedStatus

      public String getMemberStateDetailedStatus() throws TransferException
      Gets the member state detailed status. Gets the member state detailed status.
      Specified by:
      getMemberStateDetailedStatus in interface DataTransfer
      Returns:
      the member state detailed status
      Throws:
      TransferException - the transfer exception
    • getStatusCode

      public String getStatusCode()
      Gets the status code. Gets the status code.
      Specified by:
      getStatusCode in interface DataTransfer
      Returns:
      the status code
    • getTarget

      public String getTarget()
      Gets the target. Gets the target.
      Specified by:
      getTarget in interface DataTransfer
      Returns:
      the target
    • getTransferServer

      public TransferServer getTransferServer() throws TransferException
      Gets the transfer server. Gets the transfer server.
      Specified by:
      getTransferServer in interface DataTransfer
      Returns:
      the transfer server
      Throws:
      TransferException - the transfer exception
    • getTransferHistory

      public Collection<TransferHistory> getTransferHistory() throws TransferException
      Gets the transfer history. Gets the transfer history.
      Specified by:
      getTransferHistory in interface DataTransfer
      Returns:
      the transfer history
      Throws:
      TransferException - the transfer exception
    • getTransferHistoryAfterScheduledTime

      public Collection<TransferHistory> getTransferHistoryAfterScheduledTime() throws TransferException
      Gets the transfer history after scheduled time. Gets the transfer history after scheduled time.
      Specified by:
      getTransferHistoryAfterScheduledTime in interface DataTransfer
      Returns:
      the transfer history after scheduled time
      Throws:
      TransferException - the transfer exception
    • getOlderTransfersForSameDataFile

      public Collection<DataTransfer> getOlderTransfersForSameDataFile() throws TransferException
      Gets the older transfers for same data file. Gets the older transfers for same data file.
      Specified by:
      getOlderTransfersForSameDataFile in interface DataTransfer
      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 interface DataTransfer
      Parameters:
      param - the new data file id
    • setDataFileId

      public void setDataFileId(String param)
      Sets the data file id.
      Parameters:
      param - the new data file id
    • setDestinationName

      public void setDestinationName(String param)
      Sets the destination name. Sets the destination name.
      Specified by:
      setDestinationName in interface DataTransfer
      Parameters:
      param - the new destination name
    • setExpiryDate

      public void setExpiryDate(Date param)
      Sets the expiry date. Sets the expiry date.
      Specified by:
      setExpiryDate in interface DataTransfer
      Parameters:
      param - the new expiry date
    • setHostName

      public void setHostName(String param)
      Sets the host name. Sets the host name.
      Specified by:
      setHostName in interface DataTransfer
      Parameters:
      param - the new host name
    • setBackupHostName

      public void setBackupHostName(String name)
      Sets the backup host name. Sets the backup host name.
      Specified by:
      setBackupHostName in interface DataTransfer
      Parameters:
      name - the new backup host name
    • setProxyHostName

      public void setProxyHostName(String name)
      Sets the proxy host name. Sets the proxy host name.
      Specified by:
      setProxyHostName in interface DataTransfer
      Parameters:
      name - the new proxy host name
    • setPriority

      public void setPriority(int param, ecmwf.web.model.users.User u) throws TransferException
      Sets the priority. Sets the priority.
      Specified by:
      setPriority in interface DataTransfer
      Parameters:
      param - the p
      u - the u
      Throws:
      TransferException - the transfer exception
    • setExpiryDate

      public void setExpiryDate(Date date, ecmwf.web.model.users.User u) throws TransferException
      Sets the expiry date. Sets the expiry date.
      Specified by:
      setExpiryDate in interface DataTransfer
      Parameters:
      date - the date
      u - the u
      Throws:
      TransferException - the transfer exception
    • setStartTime

      public void setStartTime(Date param)
      Sets the start time. Sets the start time.
      Specified by:
      setStartTime in interface DataTransfer
      Parameters:
      param - the new start time
    • setFinishTime

      public void setFinishTime(Date param)
      Sets the finish time. Sets the finish time.
      Specified by:
      setFinishTime in interface DataTransfer
      Parameters:
      param - the new finish time
    • setStatus

      public void setStatus(String param)
      Sets the status. Sets the status.
      Specified by:
      setStatus in interface DataTransfer
      Parameters:
      param - the new status
    • setTarget

      public void setTarget(String param)
      Sets the target. Sets the target.
      Specified by:
      setTarget in interface DataTransfer
      Parameters:
      param - the new target
    • setTransferServerName

      public void setTransferServerName(String param)
      Sets the transfer server name. Sets the transfer server name.
      Specified by:
      setTransferServerName in interface DataTransfer
      Parameters:
      param - the new transfer server name
    • getRetrievalProgress

      public String getRetrievalProgress() throws TransferException
      Gets the retrieval progress. Gets the retrieval progress.
      Specified by:
      getRetrievalProgress in interface DataTransfer
      Returns:
      the retrieval progress
      Throws:
      TransferException - the transfer exception
    • getTransferServerName

      public String getTransferServerName()
      Gets the transfer server name. Gets the transfer server name.
      Specified by:
      getTransferServerName in interface DataTransfer
      Returns:
      the transfer server name
    • getProgress

      public int getProgress() throws TransferException
      Gets the progress. Gets the progress.
      Specified by:
      getProgress in interface DataTransfer
      Returns:
      the progress
      Throws:
      TransferException - the transfer exception
    • getSent

      public long getSent() throws TransferException
      Gets the sent. Gets the sent.
      Specified by:
      getSent in interface DataTransfer
      Returns:
      the sent
      Throws:
      TransferException - the transfer exception
    • getDuration

      public long getDuration()
      Gets the duration. Gets the duration.
      Specified by:
      getDuration in interface DataTransfer
      Returns:
      the duration
    • getAsap

      public boolean getAsap()
      Gets the asap. Gets the asap.
      Specified by:
      getAsap in interface DataTransfer
      Returns:
      the asap
    • getTransferRate

      public long getTransferRate() throws TransferException
      Gets the transfer rate. Gets the transfer rate.
      Specified by:
      getTransferRate in interface DataTransfer
      Returns:
      the transfer rate
      Throws:
      TransferException - the transfer exception
    • getFormattedTransferRate

      public String getFormattedTransferRate() throws TransferException
      Gets the formatted transfer rate. Gets the formatted transfer rate.
      Specified by:
      getFormattedTransferRate in interface DataTransfer
      Returns:
      the formatted transfer rate
      Throws:
      TransferException - the transfer exception
    • getFormattedTransferRateInMBitsPerSeconds

      public double getFormattedTransferRateInMBitsPerSeconds() throws TransferException
      Gets the formatted transfer rate in M bits per seconds. Gets the formatted transfer rate in M bits per seconds.
      Specified by:
      getFormattedTransferRateInMBitsPerSeconds in interface DataTransfer
      Returns:
      the formatted transfer rate in M bits per seconds
      Throws:
      TransferException - the transfer exception
    • getFormattedDuration

      public String getFormattedDuration() throws TransferException
      Gets the formatted duration. Gets the formatted duration.
      Specified by:
      getFormattedDuration in interface DataTransfer
      Returns:
      the formatted duration
      Throws:
      TransferException - the transfer exception
    • getFormattedSent

      public String getFormattedSent() throws TransferException
      Gets the formatted sent. Gets the formatted sent.
      Specified by:
      getFormattedSent in interface DataTransfer
      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 interface DataTransfer
      Parameters:
      l - the new sent
    • setDuration

      public void setDuration(long l)
      Sets the duration. Sets the duration.
      Specified by:
      setDuration in interface DataTransfer
      Parameters:
      l - the new duration
    • getSize

      public long getSize()
      Gets the size. Gets the size.
      Specified by:
      getSize in interface DataTransfer
      Returns:
      the size
    • getFormattedSize

      public String getFormattedSize()
      Gets the formatted size. Gets the formatted size.
      Specified by:
      getFormattedSize in interface DataTransfer
      Returns:
      the formatted size
    • isRetry

      public boolean isRetry()
      Checks if is retry. Checks if is retry.
      Specified by:
      isRetry in interface DataTransfer
      Returns:
      true, if is retry
    • setRetry

      public void setRetry(boolean retry)
      Sets the retry. Sets the retry.
      Specified by:
      setRetry in interface DataTransfer
      Parameters:
      retry - the new retry
    • getArrivalTargetTime

      public Date getArrivalTargetTime() throws TransferException
      TODO: The OFFSET should be configurable, not harcoded. Gets the arrival target time.
      Specified by:
      getArrivalTargetTime in interface ArrivalMonitoringParameters
      Returns:
      Schedule time - OFFSET (=75m). This is a general target arbitrarily assigned my management
      Throws:
      TransferException - the transfer exception
    • getArrivalPredictedTime

      public Date getArrivalPredictedTime() throws TransferException
      Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest. Gets the arrival predicted time.
      Specified by:
      getArrivalPredictedTime in interface ArrivalMonitoringParameters
      Returns:
      Predicted value for arrival this time.
      Throws:
      TransferException - the transfer exception
    • getArrivalStatus

      public int getArrivalStatus() throws TransferException
      Gets the arrival status. Gets the arrival status.
      Specified by:
      getArrivalStatus in interface ArrivalMonitoringParameters
      Returns:
      A status calculated as a function of all other four values
      Throws:
      TransferException - the transfer exception
    • getArrivalEarliestTime

      public Date getArrivalEarliestTime() throws TransferException
      Gets the arrival earliest time. Gets the arrival earliest time.
      Specified by:
      getArrivalEarliestTime in interface ArrivalMonitoringParameters
      Returns:
      The earliest file arrival time for a default number of days
      Throws:
      TransferException - the transfer exception
    • getArrivalLatestTime

      public Date getArrivalLatestTime() throws TransferException
      Gets the arrival latest time. Gets the arrival latest time.
      Specified by:
      getArrivalLatestTime in interface ArrivalMonitoringParameters
      Returns:
      The latest file arrival time for a default number of days
      Throws:
      TransferException - the transfer exception
    • getTransferTargetTime

      public Date getTransferTargetTime() throws TransferException
      The "aimed" transfer finish time. Gets the transfer target time.
      Specified by:
      getTransferTargetTime in interface TransferMonitoringParameters
      Returns:
      The best possible time, based on line capacity and ideal conditions of pressure and temperature ;-)
      Throws:
      TransferException - the transfer exception
    • getTransferPredictedTime

      public Date getTransferPredictedTime() throws TransferException
      Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest. Gets the transfer predicted time.
      Specified by:
      getTransferPredictedTime in interface TransferMonitoringParameters
      Returns:
      Predicted value for arrival this time.
      Throws:
      TransferException - the transfer exception
    • getTransferStatus

      public int getTransferStatus() throws TransferException
      Gets the transfer status. Gets the transfer status.
      Specified by:
      getTransferStatus in interface TransferMonitoringParameters
      Returns:
      A calculated value based on the other three parameters.
      Throws:
      TransferException - the transfer exception
    • getTransferStatusHexColor

      public String getTransferStatusHexColor() throws TransferException
      Gets the transfer status hex color. Gets the transfer status hex color.
      Specified by:
      getTransferStatusHexColor in interface TransferMonitoringParameters
      Returns:
      the transfer status hex color
      Throws:
      TransferException - the transfer exception
    • getTransferEarliestTime

      public Date getTransferEarliestTime() throws TransferException
      Gets the transfer earliest time. Gets the transfer earliest time.
      Specified by:
      getTransferEarliestTime in interface TransferMonitoringParameters
      Returns:
      The earliest transfer finish time for a default number of days
      Throws:
      TransferException - the transfer exception
    • getTransferLatestTime

      public Date getTransferLatestTime() throws TransferException
      Gets the transfer latest time. Gets the transfer latest time.
      Specified by:
      getTransferLatestTime in interface TransferMonitoringParameters
      Returns:
      The latest transfer finish time for a default number of days
      Throws:
      TransferException - the transfer exception
    • getCopy

      public DataTransfer getCopy()
      Gets the copy. Gets the copy.
      Specified by:
      getCopy in interface DataTransfer
      Returns:
      the copy
    • putOnHold

      public void putOnHold(ecmwf.web.model.users.User u) throws TransferException
      Put on hold. Put on hold.
      Specified by:
      putOnHold in interface DataTransfer
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • stop

      public void stop(ecmwf.web.model.users.User u) throws TransferException
      Stop. Stop.
      Specified by:
      stop in interface DataTransfer
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • scheduleNow

      public void scheduleNow(ecmwf.web.model.users.User u) throws TransferException
      Schedule now. Schedule now.
      Specified by:
      scheduleNow in interface DataTransfer
      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 interface DataTransfer
      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 interface DataTransfer
      Returns:
      the can be stopped
    • getCanBeDownloaded

      public boolean getCanBeDownloaded()
      Gets the can be downloaded. Gets the can be downloaded.
      Specified by:
      getCanBeDownloaded in interface DataTransfer
      Returns:
      the can be downloaded
    • interruptRetrieval

      public void interruptRetrieval(ecmwf.web.model.users.User u) throws TransferException
      Interrupt retrieval. Interrupt retrieval.
      Specified by:
      interruptRetrieval in interface DataTransfer
      Parameters:
      u - the u
      Throws:
      TransferException - the transfer exception
    • requeue

      public void requeue(ecmwf.web.model.users.User u) throws TransferException
      Requeue. Requeue.
      Specified by:
      requeue in interface DataTransfer
      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 interface DataTransfer
      Returns:
      the can be requeued
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
    • equals

      public boolean equals(DataTransferBaseBean d)
      Equals.
      Parameters:
      d - the d
      Returns:
      true, if successful
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object