Package org.opencms.db
Class CmsExportPoint
java.lang.Object
org.opencms.db.CmsExportPoint
- All Implemented Interfaces:
Serializable
Contains the data of a single export point.
- Since:
- 6.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new, empty export point.CmsExportPoint
(String uri, String destination) Creates a new export point. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Returns the configured destination path.Returns the destination path in the "real" file system.getUri()
Returns the uri of the OpenCms VFS folder to write as export point.int
hashCode()
void
setConfiguredDestination
(String value) Sets the configured destination path.void
setDestinationPath
(String value) Dummy method to expose the destination path as bean property.void
Sets the uri of the OpenCms VFS folder to write as export point.toString()
-
Constructor Details
-
CmsExportPoint
public CmsExportPoint()Creates a new, empty export point. -
CmsExportPoint
Creates a new export point.- Parameters:
uri
- the folder in the OpenCms VFS to write as export pointdestination
- the destination folder in the "real" file system, relative to the web application root
-
-
Method Details
-
clone
-
equals
-
getConfiguredDestination
Returns the configured destination path.The configured destination path is always relative to the web application path.
- Returns:
- the configured destination path
- See Also:
-
getDestinationPath
Returns the destination path in the "real" file system.- Returns:
- the destination
-
getUri
Returns the uri of the OpenCms VFS folder to write as export point.- Returns:
- the uri
-
hashCode
-
setConfiguredDestination
Sets the configured destination path.The configured destination path is always relative to the web application path.
This set method will automatically set the destination path as well.
- Parameters:
value
- the configured destination path
-
setDestinationPath
Dummy method to expose the destination path as bean property.This is required by the
BeanUtils
package in order to enable using this Object with the digester.The method does not actually change the value of the destination path. Use the
method instead.setConfiguredDestination(String)
- Parameters:
value
- the destination path (will be ignored)
-
setUri
Sets the uri of the OpenCms VFS folder to write as export point.- Parameters:
value
- the uri to set
-
toString
-