Class CmsExportPoint

java.lang.Object
org.opencms.db.CmsExportPoint
All Implemented Interfaces:
Serializable

public class CmsExportPoint extends Object implements Serializable
Contains the data of a single export point.

Since:
6.0.0
See Also:
  • Constructor Details

    • CmsExportPoint

      public CmsExportPoint()
      Creates a new, empty export point.

    • CmsExportPoint

      public CmsExportPoint(String uri, String destination)
      Creates a new export point.

      Parameters:
      uri - the folder in the OpenCms VFS to write as export point
      destination - the destination folder in the "real" file system, relative to the web application root
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • 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

      public String getUri()
      Returns the uri of the OpenCms VFS folder to write as export point.

      Returns:
      the uri
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • setConfiguredDestination

      public void setConfiguredDestination(String value)
      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

      public void setDestinationPath(String value)
      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 setConfiguredDestination(String) method instead.

      Parameters:
      value - the destination path (will be ignored)
    • setUri

      public void setUri(String value)
      Sets the uri of the OpenCms VFS folder to write as export point.

      Parameters:
      value - the uri to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: