Package org.syncany.config.to
Class FolderTO
- java.lang.Object
-
- org.syncany.config.to.FolderTO
-
public class FolderTO extends java.lang.Object
This class is the access object to configure a folder managed by the daemon. It defines whether a folder is enabled/disabled, and with whichWatchOperationOptionsto start theWatchOperationin the daemon. This class is part of the daemon configuration inDaemonConfigTO.It uses the Simple framework for XML serialization, and its corresponding annotation-based configuration.
- See Also:
- Simple framework
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPath()WatchOperationOptionsgetWatchOptions()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetPath(java.lang.String path)voidsetWatchOptions(WatchOperationOptions watchOptions)
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
-
setPath
public void setPath(java.lang.String path)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getWatchOptions
public WatchOperationOptions getWatchOptions()
-
setWatchOptions
public void setWatchOptions(WatchOperationOptions watchOptions)
-
-