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 whichWatchOperationOptions
to start theWatchOperation
in 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.String
getPath()
WatchOperationOptions
getWatchOptions()
boolean
isEnabled()
void
setEnabled(boolean enabled)
void
setPath(java.lang.String path)
void
setWatchOptions(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)
-
-