computeNbCommandToSend(OpVector localOp) Return the number of commands that are kept with the current filter in
the localOpVector.
Parameters: localOp - The command vector.
getClient() Automaticaly instantiate the class specified for property
SYNC_CLIENT_NAME
with the default constructor that take the SO6_WSC_FILE property file as parameter.
getLocalCmdPath() Return the base path where the local command are temporary stored when
they are computed from the diff beetwen the refcopy and the local copy.
Property used in the SO6_WSC_FILE property file to represente the name of
the concrete class of the ClientI interface that need to be used for that
connection
UPDATE_CORRUPTION_PATCH_LOCAL_COPY
final public static int UPDATE_CORRUPTION_PATCH_LOCAL_COPY(Code)
Constant for the corruption property : WsConnection corrupted while
patching local copy
UPDATE_CORRUPTION_PATCH_REF_COPY
final public static int UPDATE_CORRUPTION_PATCH_REF_COPY(Code)
Constant for the corruption property : WsConnection corrupted while
patching the local reference copy after an update
UPDATE_CORRUPTION_REMOVE_PATCH
final public static int UPDATE_CORRUPTION_REMOVE_PATCH(Code)
Constant for the corruption property : WsConnection corrupted while
removing the applied patch in the received directory after an update
UPDATE_CORRUPTION_SAVE_PATCH
final public static int UPDATE_CORRUPTION_SAVE_PATCH(Code)
Constant for the corruption property : WsConnection corrupted while
saving patch in the applied patch directory after an update
Return the number of commands that are kept with the current filter in
the localOpVector.
Parameters: localOp - The command vector. The number of operation kept with that filter throws: Exception - On dependency error or if no filter set.
Automaticaly instantiate the class specified for property
SYNC_CLIENT_NAME
with the default constructor that take the SO6_WSC_FILE property file as parameter.
The ClientI of that connection
The data path is the place where the WsConnection store all the important
data to manage the synchronisation process.
The base path of the WsConnection data path
Return the base path where the local command are temporary stored when
they are computed from the diff beetwen the refcopy and the local copy.
path of the directory
Load meta data from the filesystem. (Need to be used when concurrent
update on the file systeme.)
Parameters: path - The path of the workspace connection property file throws: Exception -
Set the ClientI for that connection and update the binary extention. This
methode won't update the property file. This is just for the current run
time.
Parameters: clientI -
Set a property in the SO6_WSC_FILE property file
Parameters: key - The key of the property Parameters: value - The value associated to that key
setSimulationMode
public void setSimulationMode(boolean simulation, String outputDir)(Code)
This methode is used to simulate actions. It means that the local data
won't be modified, but a report will be made in the specified directory
in order to explain what would happen if it wasn't a simulation.
Parameters: simulation - To set or unset the simulation mode Parameters: outputDir - The output directory where will be stored the report.
setXmlAutoDetection
public void setXmlAutoDetection(boolean autoDetect)(Code)
Enable or disable the Xml auto detection
Parameters: autoDetect - true if you want to activate the Xml dectection.