public final class FileBasedStatusManager
extends java.lang.Object
StatusMethod| Modifier and Type | Method and Description |
|---|---|
void |
deleteStatusInformation(java.io.File file,
boolean cs)
Deletes File Status information for the given working file.
|
File.WorkspaceSync |
getStatusInformation(java.io.File file,
boolean cs)
Gets File Status information for the given working file.
|
boolean |
isCentral()
Determines whether or not status information is centrally managed.
|
boolean |
isPerFolder()
Determines whether or not status information managed on a per-folder
basis.
|
boolean |
moveStatusInformation(java.io.File oldFile,
java.io.File newFile,
boolean caseSensitive)
Moves File Status Information from the oldFile to the newFile The move
will fail if either of the two specified files do not exist.
|
void |
setStatusInformation(File.WorkspaceSync rec,
java.io.File file,
boolean cs)
Sets File Status information for the given working file.
|
public boolean isCentral()
FileBasedStatusManager.isPerFolder(),
StatusMethod.PER_FOLDERpublic boolean isPerFolder()
FileBasedStatusManager.isCentral(),
StatusMethod.CENTRALpublic File.WorkspaceSync getStatusInformation(java.io.File file, boolean cs) throws java.io.IOException
file - A working file.cs - True if paths are case sensitive; false otherwise.java.io.IOException - if there was a problem reading the File Status database on
the local workstation.File.WorkspaceSync,
StatusMethodpublic void setStatusInformation(File.WorkspaceSync rec, java.io.File file, boolean cs) throws java.io.IOException
file - A working file.rec - New File Status information to be saved.cs - True if paths are case sensitive; false otherwise.java.io.IOException - if there was a problem reading or writing the File Status
database on the local workstation.File.WorkspaceSync,
StatusMethodpublic void deleteStatusInformation(java.io.File file,
boolean cs)
throws java.io.IOException
file - A working file.cs - True if paths are case sensitive; false otherwise.java.io.IOException - if there was a problem reading or writing the File Status
database on the local workstation.StatusMethodpublic boolean moveStatusInformation(java.io.File oldFile,
java.io.File newFile,
boolean caseSensitive)
throws java.io.IOException
oldFile - File a file for which status information is recorded; this
status will be deleted as a result of the movenewFile - File a file to which the status information is being
transferredcaseSensitive - boolean True if paths are case sensitive; false otherwisejava.io.IOException - if there was a problem reading or writing the File Status
database on the local workstation.File.WorkspaceSync,
StatusMethodStarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.