Class DestinationBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.DestinationBean
- All Implemented Interfaces:
OjbImplementedBean
,Destination
,ecmwf.web.model.ModelBean
public class DestinationBean
extends ecmwf.web.dao.ModelBeanBase
implements Destination, OjbImplementedBean
The Class DestinationBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DestinationBean
(Destination destination) Instantiates a new destination bean.protected
DestinationBean
(Destination originalDestination, boolean aliasFrom, Destination destination) Instantiates a new destination bean. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the alias.void
Adds the associated ec user.void
Adds the host.void
Adds the incoming policy.void
clean
(ecmwf.web.model.users.User u) Clean.void
cleanExpired
(ecmwf.web.model.users.User u) Clean expired.void
Delete alias.void
Delete associated ec user.void
deleteHost
(Host h) Delete host.void
Delete incoming policy.void
deleteMetadataFile
(String fileName) Delete metadata file.boolean
Equals.boolean
Equals.boolean
Gets the acquisition.Collection
<ecmwf.web.util.bean.Pair> Gets the acquisition hosts and priorities.boolean
Gets the active.protected Collection
<Destination> Gets the added aliases.protected Collection
<EcUser> Gets the added associated ec users.protected Collection
<Host> Gets the added hosts.protected Collection
<IncomingPolicy> Gets the added incoming policies.This destination is an alias for this ones.The Destinations that are aliases of this one.Gets the alias list.List
<ecmwf.web.util.bean.StringPair> Gets the all types.Gets the associated ec users.Gets the associated incoming policies.boolean
Gets the backup.Gets the bad data transfers.int
Gets the bad data transfers size.long
Gets the band width.Gets the bean interface name.Gets the change log list.Gets the comment.Gets the completions.Gets the country.Gets the country iso.getData()
Gets the data.Gets the data alias.getDataTransfersByProductAndTime
(String product, String time) Gets the data transfers by product and time.getDataTransfersByProductAndTimeOnDate
(String product, String time, Date d) Gets the data transfers by product and time on date.Gets the data transfers including retries on transmission date.Gets the data transfers on date.Gets the data transfers on transmission date.Gets the date format.protected Collection
<Destination> Gets the deleted aliases.protected Collection
<EcUser> Gets the deleted associated ec users.protected Collection
<Host> Gets the deleted hosts.protected Collection
<String> Gets the deleted metadata files.protected Collection
<IncomingPolicy> Gets the deleted policy associations.Collection
<ecmwf.web.util.bean.Pair> Gets the dissemination hosts and priorities.Gets the ec user.Gets the ec user name.Gets the filter name.Gets the formatted max inactivity.Gets the formatted reset frequency.Gets the formatted retry frequency.Gets the formatted start frequency.Gets the formatted status.boolean
Gets the group by date.Gets the host for source.Gets the host for source name.Collection
<ecmwf.web.util.bean.Pair> Gets the hosts and priorities.getId()
Gets the id.int
Gets the if target exist.Gets the if target exist text.Gets the javascript.int
Gets the keep in spool.Gets the keep in spool text.Gets the last error.Gets the last transfer.boolean
Gets the mail on end.boolean
Gets the mail on error.boolean
Gets the mail on start.int
Gets the max connections.long
Gets the max file size.int
Gets the max inactivity.int
Gets the max pending.int
Gets the max requeue.int
Gets the max start.Gets the meta data.Gets the monitoring status.getName()
Gets the name.Gets the ojb implementation.int
Gets the on host failure.Gets the on host failure text.Gets the properties.Collection
<ecmwf.web.util.bean.Pair> Gets the proxy hosts and priorities.int
Gets the queue size.long
Gets the reset frequency.int
Gets the retry count.int
Gets the retry frequency.boolean
Gets the show in monitors.int
Gets the start frequency.Gets the start time.Gets the status map for products.boolean
Gets the stop if dirty.Gets the traffic list.ecmwf.web.services.content.Content
getTransferContent
(DataTransfer t, ecmwf.web.model.users.User u) Gets the transfer content.Gets the transfer group.Gets the transfer group name.int
getType()
Gets the type.Gets the type text.Gets the user mail.int
hashCode()
Hash code.boolean
isDirty()
Checks if is dirty.void
putOnHold
(boolean graceful, ecmwf.web.model.users.User u) Put on hold.void
restart
(boolean graceful, ecmwf.web.model.users.User u) Restart.void
setAcquisition
(boolean param) Sets the acquisition.void
setActive
(boolean param) Sets the active.void
setBackup
(boolean param) Sets the backup.void
setComment
(String param) Sets the comment.void
setCountryIso
(String param) Sets the country iso.void
Sets the data.void
setDateFormat
(String format) Sets the date format.void
setEcUserName
(String param) Sets the ec user name.void
setFilterName
(String param) Sets the filter name.void
setGroupByDate
(boolean b) Sets the group by date.void
setHostForSourceName
(String name) Sets the host for source name.void
setIfTargetExist
(int param) Sets the if target exist.void
setKeepInSpool
(int i) Sets the keep in spool.void
setMailOnEnd
(boolean param) Sets the mail on end.void
setMailOnError
(boolean param) Sets the mail on error.void
setMailOnStart
(boolean param) Sets the mail on start.void
setMaxConnections
(int i) Sets the max connections.void
setMaxFileSize
(long i) Sets the max file size.void
setMaxInactivity
(int i) Sets the max inactivity.void
setMaxPending
(int param) Sets the max pending.void
setMaxRequeue
(int i) Sets the max requeue.void
setMaxStart
(int i) Sets the max start.void
Sets the name.void
setOnHostFailure
(int i) Sets the on host failure.void
setResetFrequency
(long i) Sets the reset frequency.void
setRetryCount
(int i) Sets the retry count.void
setRetryFrequency
(int i) Sets the retry frequency.void
setShowInMonitors
(boolean b) Sets the show in monitors.void
setStartFrequency
(int i) Sets the start frequency.void
setStopIfDirty
(boolean b) Sets the stop if dirty.void
Sets the transfer group.void
Sets the transfer group name.void
setType
(int i) Sets the type.protected void
Sets the update.protected void
Sets the updated now.void
setUserMail
(String param) Sets the user mail.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
-
DestinationBean
protected DestinationBean(Destination originalDestination, boolean aliasFrom, Destination destination) Instantiates a new destination bean.- Parameters:
originalDestination
- the original destinationaliasFrom
- the alias fromdestination
- the destination
-
DestinationBean
Instantiates a new destination bean.- Parameters:
destination
- the destination
-
-
Method Details
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementation
in interfaceOjbImplementedBean
- Returns:
- the ojb implementation
-
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
-
getName
Gets the name. Gets the name.- Specified by:
getName
in interfaceDestination
- Returns:
- the name
-
getProperties
Gets the properties. Gets the properties.- Specified by:
getProperties
in interfaceDestination
- Returns:
- the properties
-
getJavascript
Gets the javascript. Gets the javascript.- Specified by:
getJavascript
in interfaceDestination
- Returns:
- the javascript
-
getData
Gets the data. Gets the data.- Specified by:
getData
in interfaceDestination
- Returns:
- the data
-
getDataAlias
Gets the data alias. Gets the data alias.- Specified by:
getDataAlias
in interfaceDestination
- Returns:
- the data alias
-
setData
Sets the data. Sets the data.- Specified by:
setData
in interfaceDestination
- Parameters:
data
- the new data
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActive
in interfaceDestination
- Returns:
- the active
-
getBackup
public boolean getBackup()Gets the backup. Gets the backup.- Specified by:
getBackup
in interfaceDestination
- Returns:
- the backup
-
getAcquisition
public boolean getAcquisition()Gets the acquisition. Gets the acquisition.- Specified by:
getAcquisition
in interfaceDestination
- Returns:
- the acquisition
-
getEcUser
Gets the ec user. Gets the ec user.- Specified by:
getEcUser
in interfaceDestination
- Returns:
- the ec user
- Throws:
TransferException
- the transfer exception
-
getTransferGroup
Gets the transfer group. Gets the transfer group.- Specified by:
getTransferGroup
in interfaceDestination
- Returns:
- the transfer group
- Throws:
DataFileException
- the data file exception
-
getTransferGroupName
Gets the transfer group name. Gets the transfer group name.- Specified by:
getTransferGroupName
in interfaceDestination
- Returns:
- the transfer group name
-
setTransferGroup
Sets the transfer group. Sets the transfer group.- Specified by:
setTransferGroup
in interfaceDestination
- Parameters:
m
- the new transfer group
-
setTransferGroupName
Sets the transfer group name. Sets the transfer group name.- Specified by:
setTransferGroupName
in interfaceDestination
- Parameters:
s
- the new transfer group name
-
getAssociatedEcUsers
Gets the associated ec users. Gets the associated ec users.- Specified by:
getAssociatedEcUsers
in interfaceDestination
- Returns:
- the associated ec users
- Throws:
TransferException
- the transfer exception
-
getAssociatedIncomingPolicies
Gets the associated incoming policies. Gets the associated incoming policies.- Specified by:
getAssociatedIncomingPolicies
in interfaceDestination
- Returns:
- the associated incoming policies
- Throws:
TransferException
- the transfer exception
-
getEcUserName
Gets the ec user name. Gets the ec user name.- Specified by:
getEcUserName
in interfaceDestination
- Returns:
- the ec user name
-
getCountry
Gets the country. Gets the country.- Specified by:
getCountry
in interfaceDestination
- Returns:
- the country
- Throws:
TransferException
- the transfer exception
-
getCountryIso
Gets the country iso. Gets the country iso.- Specified by:
getCountryIso
in interfaceDestination
- Returns:
- the country iso
-
getHostForSource
Gets the host for source. Gets the host for source.- Specified by:
getHostForSource
in interfaceDestination
- Returns:
- the host for source
- Throws:
TransferException
- the transfer exception
-
getHostForSourceName
Gets the host for source name. Gets the host for source name.- Specified by:
getHostForSourceName
in interfaceDestination
- Returns:
- the host for source name
-
getIfTargetExist
public int getIfTargetExist()Gets the if target exist. Gets the if target exist.- Specified by:
getIfTargetExist
in interfaceDestination
- Returns:
- the if target exist
-
getOnHostFailure
public int getOnHostFailure()Gets the on host failure. Gets the on host failure.- Specified by:
getOnHostFailure
in interfaceDestination
- Returns:
- the on host failure
-
getKeepInSpool
public int getKeepInSpool()Gets the keep in spool. Gets the keep in spool.- Specified by:
getKeepInSpool
in interfaceDestination
- Returns:
- the keep in spool
-
getIfTargetExistText
Gets the if target exist text. Gets the if target exist text.- Specified by:
getIfTargetExistText
in interfaceDestination
- Returns:
- the if target exist text
-
getOnHostFailureText
Gets the on host failure text. Gets the on host failure text.- Specified by:
getOnHostFailureText
in interfaceDestination
- Returns:
- the on host failure text
-
getKeepInSpoolText
Gets the keep in spool text. Gets the keep in spool text.- Specified by:
getKeepInSpoolText
in interfaceDestination
- Returns:
- the keep in spool text
-
getMailOnEnd
public boolean getMailOnEnd()Gets the mail on end. Gets the mail on end.- Specified by:
getMailOnEnd
in interfaceDestination
- Returns:
- the mail on end
-
getMailOnError
public boolean getMailOnError()Gets the mail on error. Gets the mail on error.- Specified by:
getMailOnError
in interfaceDestination
- Returns:
- the mail on error
-
getMailOnStart
public boolean getMailOnStart()Gets the mail on start. Gets the mail on start.- Specified by:
getMailOnStart
in interfaceDestination
- Returns:
- the mail on start
-
getUserMail
Gets the user mail. Gets the user mail.- Specified by:
getUserMail
in interfaceDestination
- Returns:
- the user mail
-
getMaxStart
public int getMaxStart()Gets the max start. Gets the max start.- Specified by:
getMaxStart
in interfaceDestination
- Returns:
- the max start
-
getStartFrequency
public int getStartFrequency()Gets the start frequency. Gets the start frequency.- Specified by:
getStartFrequency
in interfaceDestination
- Returns:
- the start frequency
-
getFormattedStartFrequency
Gets the formatted start frequency. Gets the formatted start frequency.- Specified by:
getFormattedStartFrequency
in interfaceDestination
- Returns:
- the formatted start frequency
-
getMaxInactivity
public int getMaxInactivity()Gets the max inactivity. Gets the max inactivity.- Specified by:
getMaxInactivity
in interfaceDestination
- Returns:
- the max inactivity
-
getFormattedMaxInactivity
Gets the formatted max inactivity. Gets the formatted max inactivity.- Specified by:
getFormattedMaxInactivity
in interfaceDestination
- Returns:
- the formatted max inactivity
-
setMaxInactivity
public void setMaxInactivity(int i) Sets the max inactivity. Sets the max inactivity.- Specified by:
setMaxInactivity
in interfaceDestination
- Parameters:
i
- the new max inactivity
-
getResetFrequency
public long getResetFrequency()Gets the reset frequency. Gets the reset frequency.- Specified by:
getResetFrequency
in interfaceDestination
- Returns:
- the reset frequency
-
setMaxFileSize
public void setMaxFileSize(long i) Sets the max file size. Sets the max file size.- Specified by:
setMaxFileSize
in interfaceDestination
- Parameters:
i
- the new max file size
-
getFormattedResetFrequency
Gets the formatted reset frequency. Gets the formatted reset frequency.- Specified by:
getFormattedResetFrequency
in interfaceDestination
- Returns:
- the formatted reset frequency
-
setMaxStart
public void setMaxStart(int i) Sets the max start. Sets the max start.- Specified by:
setMaxStart
in interfaceDestination
- Parameters:
i
- the new max start
-
setMaxRequeue
public void setMaxRequeue(int i) Sets the max requeue. Sets the max requeue.- Specified by:
setMaxRequeue
in interfaceDestination
- Parameters:
i
- the new max requeue
-
setStartFrequency
public void setStartFrequency(int i) Sets the start frequency. Sets the start frequency.- Specified by:
setStartFrequency
in interfaceDestination
- Parameters:
i
- the new start frequency
-
setResetFrequency
public void setResetFrequency(long i) Sets the reset frequency. Sets the reset frequency.- Specified by:
setResetFrequency
in interfaceDestination
- Parameters:
i
- the new reset frequency
-
getGroupByDate
public boolean getGroupByDate()Gets the group by date. Gets the group by date.- Specified by:
getGroupByDate
in interfaceDestination
- Returns:
- the group by date
-
setGroupByDate
public void setGroupByDate(boolean b) Sets the group by date. Sets the group by date.- Specified by:
setGroupByDate
in interfaceDestination
- Parameters:
b
- the new group by date
-
getDateFormat
Gets the date format. Gets the date format.- Specified by:
getDateFormat
in interfaceDestination
- Returns:
- the date format
-
setDateFormat
Sets the date format. Sets the date format.- Specified by:
setDateFormat
in interfaceDestination
- Parameters:
format
- the new date format
-
getDataTransfersOnDate
Gets the data transfers on date. Gets the data transfers on date.- Specified by:
getDataTransfersOnDate
in interfaceDestination
- Parameters:
d
- the d- Returns:
- the data transfers on date
- Throws:
TransferException
- the transfer exception
-
getDataTransfersOnTransmissionDate
Gets the data transfers on transmission date.- Parameters:
d
- the d- Returns:
- the data transfers on transmission date
- Throws:
TransferException
- the transfer exception
-
getDataTransfersIncludingRetriesOnTransmissionDate
public Collection<DataTransfer> getDataTransfersIncludingRetriesOnTransmissionDate(Date d) throws TransferException Gets the data transfers including retries on transmission date. Gets the data transfers including retries on transmission date.- Specified by:
getDataTransfersIncludingRetriesOnTransmissionDate
in interfaceDestination
- Parameters:
d
- the d- Returns:
- the data transfers including retries on transmission date
- Throws:
TransferException
- the transfer exception
-
getDataTransfersByProductAndTime
public Collection<DataTransfer> getDataTransfersByProductAndTime(String product, String time) throws TransferException Gets the data transfers by product and time. Gets the data transfers by product and time.- Specified by:
getDataTransfersByProductAndTime
in interfaceDestination
- Parameters:
product
- the producttime
- the time- Returns:
- the data transfers by product and time
- Throws:
TransferException
- the transfer exception
-
getDataTransfersByProductAndTimeOnDate
public Collection<DataTransfer> getDataTransfersByProductAndTimeOnDate(String product, String time, Date d) throws TransferException Gets the data transfers by product and time on date. Gets the data transfers by product and time on date.- Specified by:
getDataTransfersByProductAndTimeOnDate
in interfaceDestination
- Parameters:
product
- the producttime
- the timed
- the d- Returns:
- the data transfers by product and time on date
- Throws:
TransferException
- the transfer exception
-
getHostsAndPriorities
Gets the hosts and priorities. Gets the hosts and priorities.- Specified by:
getHostsAndPriorities
in interfaceDestination
- Returns:
- the hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getDisseminationHostsAndPriorities
public Collection<ecmwf.web.util.bean.Pair> getDisseminationHostsAndPriorities() throws TransferExceptionGets the dissemination hosts and priorities. Gets the dissemination hosts and priorities.- Specified by:
getDisseminationHostsAndPriorities
in interfaceDestination
- Returns:
- the dissemination hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getAcquisitionHostsAndPriorities
public Collection<ecmwf.web.util.bean.Pair> getAcquisitionHostsAndPriorities() throws TransferExceptionGets the acquisition hosts and priorities. Gets the acquisition hosts and priorities.- Specified by:
getAcquisitionHostsAndPriorities
in interfaceDestination
- Returns:
- the acquisition hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getProxyHostsAndPriorities
Gets the proxy hosts and priorities.- Returns:
- the proxy hosts and priorities
- Throws:
TransferException
- the transfer exception
-
getAliases
The Destinations that are aliases of this one. Gets the aliases.- Specified by:
getAliases
in interfaceDestination
- Returns:
- the aliases
- Throws:
TransferException
- the transfer exception
-
getAliasList
Gets the alias list. Gets the alias list.- Specified by:
getAliasList
in interfaceDestination
- Returns:
- the alias list
- Throws:
TransferException
- the transfer exception
-
getTrafficList
Gets the traffic list. Gets the traffic list.- Specified by:
getTrafficList
in interfaceDestination
- Returns:
- the traffic list
- Throws:
TransferException
- the transfer exception
-
getChangeLogList
Gets the change log list. Gets the change log list.- Specified by:
getChangeLogList
in interfaceDestination
- Returns:
- the change log list
- Throws:
TransferException
- the transfer exception
-
getAliasedFrom
This destination is an alias for this ones. Gets the aliased from.- Specified by:
getAliasedFrom
in interfaceDestination
- Returns:
- the aliased from
- Throws:
TransferException
- the transfer exception
-
getMetaData
Gets the meta data. Gets the meta data.- Specified by:
getMetaData
in interfaceDestination
- Returns:
- the meta data
- Throws:
TransferException
- the transfer exception
-
setActive
public void setActive(boolean param) Sets the active. Sets the active.- Specified by:
setActive
in interfaceDestination
- Parameters:
param
- the new active
-
setBackup
public void setBackup(boolean param) Sets the backup. Sets the backup.- Specified by:
setBackup
in interfaceDestination
- Parameters:
param
- the new backup
-
setAcquisition
public void setAcquisition(boolean param) Sets the acquisition. Sets the acquisition.- Specified by:
setAcquisition
in interfaceDestination
- Parameters:
param
- the new acquisition
-
setCountryIso
Sets the country iso. Sets the country iso.- Specified by:
setCountryIso
in interfaceDestination
- Parameters:
param
- the new country iso
-
setHostForSourceName
Sets the host for source name. Sets the host for source name.- Specified by:
setHostForSourceName
in interfaceDestination
- Parameters:
name
- the new host for source name
-
setEcUserName
Sets the ec user name. Sets the ec user name.- Specified by:
setEcUserName
in interfaceDestination
- Parameters:
param
- the new ec user name
-
setIfTargetExist
public void setIfTargetExist(int param) Sets the if target exist. Sets the if target exist.- Specified by:
setIfTargetExist
in interfaceDestination
- Parameters:
param
- the new if target exist
-
setOnHostFailure
public void setOnHostFailure(int i) Sets the on host failure. Sets the on host failure.- Specified by:
setOnHostFailure
in interfaceDestination
- Parameters:
i
- the new on host failure
-
setKeepInSpool
public void setKeepInSpool(int i) Sets the keep in spool. Sets the keep in spool.- Specified by:
setKeepInSpool
in interfaceDestination
- Parameters:
i
- the new keep in spool
-
setMailOnEnd
public void setMailOnEnd(boolean param) Sets the mail on end. Sets the mail on end.- Specified by:
setMailOnEnd
in interfaceDestination
- Parameters:
param
- the new mail on end
-
setMailOnError
public void setMailOnError(boolean param) Sets the mail on error. Sets the mail on error.- Specified by:
setMailOnError
in interfaceDestination
- Parameters:
param
- the new mail on error
-
setMailOnStart
public void setMailOnStart(boolean param) Sets the mail on start. Sets the mail on start.- Specified by:
setMailOnStart
in interfaceDestination
- Parameters:
param
- the new mail on start
-
setName
Sets the name. Sets the name.- Specified by:
setName
in interfaceDestination
- Parameters:
param
- the new name
-
setUserMail
Sets the user mail. Sets the user mail.- Specified by:
setUserMail
in interfaceDestination
- Parameters:
param
- the new user mail
-
addAssociatedEcUser
Adds the associated ec user. Adds the associated ec user.- Specified by:
addAssociatedEcUser
in interfaceDestination
- Parameters:
u
- the u
-
deleteAssociatedEcUser
Delete associated ec user. Delete associated ec user.- Specified by:
deleteAssociatedEcUser
in interfaceDestination
- Parameters:
u
- the u
-
addHost
Adds the host. Adds the host.- Specified by:
addHost
in interfaceDestination
- Parameters:
h
- the h
-
addIncomingPolicy
Adds the incoming policy. Adds the incoming policy.- Specified by:
addIncomingPolicy
in interfaceDestination
- Parameters:
p
- the h
-
deleteHost
Delete host. Delete host.- Specified by:
deleteHost
in interfaceDestination
- Parameters:
h
- the p
-
deleteIncomingPolicy
Delete incoming policy. Delete incoming policy.- Specified by:
deleteIncomingPolicy
in interfaceDestination
- Parameters:
p
- the p
-
addAlias
Adds the alias. Adds the alias.- Specified by:
addAlias
in interfaceDestination
- Parameters:
d
- the d
-
deleteAlias
Delete alias. Delete alias.- Specified by:
deleteAlias
in interfaceDestination
- Parameters:
d
- the d
-
deleteMetadataFile
Delete metadata file. Delete metadata file.- Specified by:
deleteMetadataFile
in interfaceDestination
- Parameters:
fileName
- the file name
-
getFilterName
Gets the filter name. Gets the filter name.- Specified by:
getFilterName
in interfaceDestination
- Returns:
- the filter name
-
setFilterName
Sets the filter name. Sets the filter name.- Specified by:
setFilterName
in interfaceDestination
- Parameters:
param
- the new filter name
-
getComment
Gets the comment. Gets the comment.- Specified by:
getComment
in interfaceDestination
- Returns:
- the comment
-
setComment
Sets the comment. Sets the comment.- Specified by:
setComment
in interfaceDestination
- Parameters:
param
- the new comment
-
isDirty
public boolean isDirty()Checks if is dirty. Checks if is dirty.- Specified by:
isDirty
in interfaceDestination
- Returns:
- True if some changes to data related to the destination need a restart to be applied.
-
getMaxConnections
public int getMaxConnections()Gets the max connections. Gets the max connections.- Specified by:
getMaxConnections
in interfaceDestination
- Returns:
- the max connections
-
getRetryCount
public int getRetryCount()Gets the retry count. Gets the retry count.- Specified by:
getRetryCount
in interfaceDestination
- Returns:
- the retry count
-
getRetryFrequency
public int getRetryFrequency()Gets the retry frequency. Gets the retry frequency.- Specified by:
getRetryFrequency
in interfaceDestination
- Returns:
- the retry frequency
-
getFormattedRetryFrequency
Gets the formatted retry frequency. Gets the formatted retry frequency.- Specified by:
getFormattedRetryFrequency
in interfaceDestination
- Returns:
- the formatted retry frequency
-
getFormattedStatus
Gets the formatted status. Gets the formatted status.- Specified by:
getFormattedStatus
in interfaceDestination
- Returns:
- the formatted status
-
getLastTransfer
Gets the last transfer. Gets the last transfer.- Specified by:
getLastTransfer
in interfaceDestination
- Returns:
- the last transfer
-
getLastError
Gets the last error. Gets the last error.- Specified by:
getLastError
in interfaceDestination
- Returns:
- the last error
-
getQueueSize
public int getQueueSize()Gets the queue size. Gets the queue size.- Specified by:
getQueueSize
in interfaceDestination
- Returns:
- the queue size
-
restart
Restart. Restart.- Specified by:
restart
in interfaceDestination
- Parameters:
graceful
- the gracefulu
- the u- Throws:
TransferException
- the transfer exception
-
putOnHold
Put on hold. Put on hold.- Specified by:
putOnHold
in interfaceDestination
- Parameters:
graceful
- the gracefulu
- the u- Throws:
TransferException
- the transfer exception
-
clean
Clean. Clean.- Specified by:
clean
in interfaceDestination
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
cleanExpired
Clean expired. Clean expired.- Specified by:
cleanExpired
in interfaceDestination
- Parameters:
u
- the u- Throws:
TransferException
- the transfer exception
-
setMaxConnections
public void setMaxConnections(int i) Sets the max connections. Sets the max connections.- Specified by:
setMaxConnections
in interfaceDestination
- Parameters:
i
- the new max connections
-
setRetryCount
public void setRetryCount(int i) Sets the retry count. Sets the retry count.- Specified by:
setRetryCount
in interfaceDestination
- Parameters:
i
- the new retry count
-
setRetryFrequency
public void setRetryFrequency(int i) Sets the retry frequency. Sets the retry frequency.- Specified by:
setRetryFrequency
in interfaceDestination
- Parameters:
i
- the new retry frequency
-
setType
public void setType(int i) Sets the type. Sets the type.- Specified by:
setType
in interfaceDestination
- Parameters:
i
- the new type
-
getType
public int getType()Gets the type. Gets the type.- Specified by:
getType
in interfaceDestination
- Returns:
- the type
-
getTypeText
Gets the type text. Gets the type text.- Specified by:
getTypeText
in interfaceDestination
- Returns:
- the type text
-
getStatusMapForProducts
Gets the status map for products. Gets the status map for products.- Specified by:
getStatusMapForProducts
in interfaceDestination
- Returns:
- the status map for products
-
getMonitoringStatus
Gets the monitoring status. Gets the monitoring status.- Specified by:
getMonitoringStatus
in interfaceDestination
- Returns:
- the monitoring status
- Throws:
TransferException
- the transfer exception
-
getBandWidth
Gets the band width. Gets the band width.- Specified by:
getBandWidth
in interfaceDestination
- Returns:
- the band width
- Throws:
TransferException
- the transfer exception
-
getMaxRequeue
public int getMaxRequeue()Gets the max requeue. Gets the max requeue.- Specified by:
getMaxRequeue
in interfaceDestination
- Returns:
- the max requeue
-
getBadDataTransfers
Gets the bad data transfers. Gets the bad data transfers.- Specified by:
getBadDataTransfers
in interfaceDestination
- Returns:
- the bad data transfers
- Throws:
TransferException
- the transfer exception
-
getBadDataTransfersSize
Gets the bad data transfers size. Gets the bad data transfers size.- Specified by:
getBadDataTransfersSize
in interfaceDestination
- Returns:
- the bad data transfers size
- Throws:
TransferException
- the transfer exception
-
getStopIfDirty
public boolean getStopIfDirty()Gets the stop if dirty. Gets the stop if dirty.- Specified by:
getStopIfDirty
in interfaceDestination
- Returns:
- the stop if dirty
-
setStopIfDirty
public void setStopIfDirty(boolean b) Sets the stop if dirty. Sets the stop if dirty.- Specified by:
setStopIfDirty
in interfaceDestination
- Parameters:
b
- the new stop if dirty
-
getMaxPending
public int getMaxPending()Gets the max pending. Gets the max pending.- Specified by:
getMaxPending
in interfaceDestination
- Returns:
- the max pending
-
getMaxFileSize
public long getMaxFileSize()Gets the max file size. Gets the max file size.- Specified by:
getMaxFileSize
in interfaceDestination
- Returns:
- the max file size
-
setMaxPending
public void setMaxPending(int param) Sets the max pending. Sets the max pending.- Specified by:
setMaxPending
in interfaceDestination
- Parameters:
param
- the new max pending
-
getShowInMonitors
public boolean getShowInMonitors()Gets the show in monitors. Gets the show in monitors.- Specified by:
getShowInMonitors
in interfaceDestination
- Returns:
- the show in monitors
-
setShowInMonitors
public void setShowInMonitors(boolean b) Sets the show in monitors. Sets the show in monitors.- Specified by:
setShowInMonitors
in interfaceDestination
- Parameters:
b
- the new show in monitors
-
getStartTime
Gets the start time. Gets the start time.- Specified by:
getStartTime
in interfaceDestination
- Returns:
- the start time
- Throws:
TransferException
- the transfer exception
-
getTransferContent
public ecmwf.web.services.content.Content getTransferContent(DataTransfer t, ecmwf.web.model.users.User u) throws TransferException Gets the transfer content. Gets the transfer content.- Specified by:
getTransferContent
in interfaceDestination
- Parameters:
t
- the tu
- the u- Returns:
- the transfer content
- Throws:
TransferException
- the transfer exception
-
getAllTypes
Gets the all types. Gets the all types.- Specified by:
getAllTypes
in interfaceDestination
- Returns:
- the all types
-
setUpdate
-
getAddedAssociatedEcUsers
Gets the added associated ec users.- Returns:
- the added associated ec users
-
getAddedHosts
-
getAddedIncomingPolicies
Gets the added incoming policies.- Returns:
- the added incoming policies
-
getDeletedPolicyAssociations
Gets the deleted policy associations.- Returns:
- the deleted policy associations
-
getDeletedAssociatedEcUsers
Gets the deleted associated ec users.- Returns:
- the deleted associated ec users
-
getDeletedHosts
-
setUpdatedNow
protected void setUpdatedNow()Sets the updated now. -
getAddedAliases
Gets the added aliases.- Returns:
- the added aliases
-
getDeletedAliases
Gets the deleted aliases.- Returns:
- the deleted aliases
-
getDeletedMetadataFiles
Gets the deleted metadata files.- Returns:
- the deleted metadata files
-
getCompletions
Gets the completions. Gets the completions.- Specified by:
getCompletions
in interfaceDestination
- Returns:
- the completions
- Throws:
TransferException
- the transfer exception
-
equals
-
equals
-
hashCode
-
toString
-