/** * @see java.lang.Object#clone() */ @Override public Object clone() { CmsExportPoint clone = new CmsExportPoint(m_uri, m_configuredDestination); clone.setDestinationPath(getDestinationPath()); return clone; }
/** * Adds an export point to the module configuration.<p> * * @param uri the export point uri * @param destination the export point destination */ public void addExportPoint(String uri, String destination) { CmsExportPoint point = new CmsExportPoint(uri, destination); m_exportPoints.add(point); if (CmsLog.INIT.isInfoEnabled()) { CmsLog.INIT.info( Messages.get().getBundle().key( Messages.INIT_ADD_EXPORT_POINT_2, point.getUri(), point.getConfiguredDestination())); } }
/** * Adds newly created export point to the workplace configuration.<p> * * @param uri the export point uri * @param destination the export point destination */ public void addExportPoint(String uri, String destination) { CmsExportPoint point = new CmsExportPoint(uri, destination); m_exportPoints.add(point); if (CmsLog.INIT.isInfoEnabled() && (point.getDestinationPath() != null)) { CmsLog.INIT.info(Messages.get().getBundle().key( Messages.INIT_ADD_EXPORT_POINT_2, point.getUri(), point.getDestinationPath())); } }
/** * Adds an export point to the module configuration.<p> * * @param uri the export point uri * @param destination the export point destination */ public void addExportPoint(String uri, String destination) { CmsExportPoint point = new CmsExportPoint(uri, destination); m_exportPoints.add(point); if (CmsLog.INIT.isInfoEnabled() && (point.getDestinationPath() != null)) { CmsLog.INIT.info(Messages.get().getBundle().key( Messages.INIT_ADD_EXPORT_POINT_2, point.getUri(), point.getDestinationPath())); } }
/** * Adds newly created export point to the workplace configuration.<p> * * @param uri the export point uri * @param destination the export point destination */ public void addExportPoint(String uri, String destination) { CmsExportPoint point = new CmsExportPoint(uri, destination); m_exportPoints.add(point); if (CmsLog.INIT.isInfoEnabled() && (point.getDestinationPath() != null)) { CmsLog.INIT.info( Messages.get().getBundle().key( Messages.INIT_ADD_EXPORT_POINT_2, point.getUri(), point.getDestinationPath())); } }
m_exportpoint = new CmsExportPoint(); if ((exportpoints != null) && (exportpoints.size() > 0)) { Iterator i = exportpoints.iterator();
m_exportpoint = new CmsExportPoint(); if ((exportpoints != null) && (exportpoints.size() > 0)) { Iterator i = exportpoints.iterator();
String path = modulePath + PATH_LIB; getCms().createResource(path, folderId); CmsExportPoint exp = new CmsExportPoint(path, "WEB-INF/lib/"); exportPoints.add(exp); module.setExportPoints(exportPoints); String path = modulePath + PATH_CLASSES; getCms().createResource(path, folderId); CmsExportPoint exp = new CmsExportPoint(path, "WEB-INF/classes/"); exportPoints.add(exp); module.setExportPoints(exportPoints);