public class DesignSyncManager extends FileSystemDesignManager
Modifier and Type | Class and Description |
---|---|
class |
DesignSyncManager.PollingTask |
FileSystemDesignManager.DesignInformation, FileSystemDesignManager.FileSystemResources, FileSystemDesignManager.ModuleFile
Modifier and Type | Field and Description |
---|---|
static boolean |
AUTOUPDATE_GLOBALLY_DISABLED |
static java.lang.String |
OPTION_AUTOUPDATE |
static java.lang.String |
SYSPROPERTY_AUTOUPDATE_DISABLE |
_designTypes, DIRECTORY_DIVIDER, LOGGER_DESIGNSYNC, MODE_DIRECT, MODE_FULL, MODE_VIRTUAL, OPTION_DESIGNKEY, SYNCSTATUS_MODULE
Constructor and Description |
---|
DesignSyncManager(de.innovationgate.wga.config.DesignReference ref,
WGACore core,
de.innovationgate.webgate.api.WGDatabase db,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> options) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
databaseConnected(de.innovationgate.webgate.api.WGDatabaseEvent event) |
static com.thoughtworks.xstream.XStream |
getXstream() |
boolean |
isTemporary() |
void |
scanForUpdates() |
void |
waitForNextSync() |
databaseConnectionError, designHashCode, determineDesignEncoding, getBaseFolder, getDB, getDesignInformation, getDesignPath, getFileEncoding, getFileStandardSuffix, getJavaClassesPath, getLog, getSyncedDoctypes, getSyncInfo, getTmlFolder, getWGACore, isDirectAccessDefault, isEditable, isValidDesignFile, isValidDesignFile
public static final java.lang.String OPTION_AUTOUPDATE
public static final java.lang.String SYSPROPERTY_AUTOUPDATE_DISABLE
public static final boolean AUTOUPDATE_GLOBALLY_DISABLED
public DesignSyncManager(de.innovationgate.wga.config.DesignReference ref, WGACore core, de.innovationgate.webgate.api.WGDatabase db, java.lang.String path, java.util.Map<java.lang.String,java.lang.String> options) throws WGDesignSyncException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, de.innovationgate.webgate.api.WGAPIException, de.innovationgate.wga.common.beans.csconfig.v1.InvalidCSConfigVersionException
WGDesignSyncException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
de.innovationgate.webgate.api.WGAPIException
de.innovationgate.wga.common.beans.csconfig.v1.InvalidCSConfigVersionException
public static com.thoughtworks.xstream.XStream getXstream()
public boolean isTemporary()
public void scanForUpdates()
public void waitForNextSync()
public void close()
close
in interface ManagedDBAttribute
close
in class FileSystemDesignManager
public void databaseConnected(de.innovationgate.webgate.api.WGDatabaseEvent event)
databaseConnected
in interface de.innovationgate.webgate.api.WGDatabaseConnectListener
databaseConnected
in class FileSystemDesignManager