From: <luc...@us...> - 2009-08-12 10:16:00
|
Revision: 1254 http://openutils.svn.sourceforge.net/openutils/?rev=1254&view=rev Author: lucaboati Date: 2009-08-12 10:15:48 +0000 (Wed, 12 Aug 2009) Log Message: ----------- add this.nodeType = nodeType; to constructor Modified Paths: -------------- trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/watch/BootstrapSyncRepositoryWatch.java Modified: trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/watch/BootstrapSyncRepositoryWatch.java =================================================================== --- trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/watch/BootstrapSyncRepositoryWatch.java 2009-08-11 19:43:28 UTC (rev 1253) +++ trunk/openutils-mgnlbootstrapsync/src/main/java/it/openutils/mgnlbootstrapsync/watch/BootstrapSyncRepositoryWatch.java 2009-08-12 10:15:48 UTC (rev 1254) @@ -3,8 +3,8 @@ import it.openutils.mgnlbootstrapsync.BootstrapEnableRoot; import it.openutils.mgnlbootstrapsync.BootstrapExportRoot; + /** - * * @author mmolaschi * @version $Id: $ */ @@ -18,46 +18,66 @@ private BootstrapExportRoot exportRoots; private BootstrapEnableRoot enableRoots; - + private String nodeType; /** - * * @param repository repository to watch - * @param basePath base path for repository * @param exportPath folder to export files to * @param exportRoots comma separeted list of nodes (every modified to children will be exported as this node) * @param enableRoots enabled branches for listener + * @param nodeType nodeType */ - public BootstrapSyncRepositoryWatch(String repository, String exportPath, String exportRoots, String enableRoots, String nodeType) + public BootstrapSyncRepositoryWatch( + String repository, + String exportPath, + String exportRoots, + String enableRoots, + String nodeType) { this.repository = repository; this.exportPath = exportPath; this.exportRoots = new BootstrapExportRoot(exportRoots); this.enableRoots = new BootstrapEnableRoot(enableRoots); + this.nodeType = nodeType; } + /** + * Returns the repository. + * @return the repository + */ public String getRepository() { return repository; } + /** + * Sets the repository. + * @param repository the repository to set + */ public void setRepository(String repository) { this.repository = repository; } + /** + * Returns the exportPath. + * @return the exportPath + */ public String getExportPath() { return exportPath; } + /** + * Sets the exportPath. + * @param exportPath the exportPath to set + */ public void setExportPath(String exportPath) { this.exportPath = exportPath; } - /** * Returns the exportRoots. * @return the exportRoots @@ -67,7 +87,6 @@ return exportRoots; } - /** * Sets the exportRoots. * @param exportRoots the exportRoots to set @@ -77,7 +96,6 @@ this.exportRoots = exportRoots; } - /** * Returns the enableRoots. * @return the enableRoots @@ -87,7 +105,6 @@ return enableRoots; } - /** * Sets the enableRoots. * @param enableRoots the enableRoots to set @@ -97,7 +114,6 @@ this.enableRoots = enableRoots; } - /** * Returns the nodeType. * @return the nodeType @@ -107,7 +123,6 @@ return nodeType; } - /** * Sets the nodeType. * @param nodeType the nodeType to set @@ -116,4 +131,5 @@ { this.nodeType = nodeType; } + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |