public class Update
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Update.StatusResult |
static class |
Update.UpdateEnum |
| Constructor and Description |
|---|
Update() |
| Modifier and Type | Method and Description |
|---|---|
static void |
commentStatusResult(Update.StatusResult result,
Update.UpdateEnum type)
Parse the output of an 'cvs -nq update' command, which
checks the status of the given files.
|
static void |
rollback(Cell cell) |
static void |
rollback(Library lib) |
static void |
update(java.util.List<Library> libs,
java.util.List<Cell> cells,
Update.UpdateEnum type,
boolean updateProject,
boolean checkEditors)
Run Update/Status/Rollback on the libraries and cells
|
protected static Update.StatusResult |
update(java.lang.String cvsProgram,
java.lang.String repository,
java.lang.String file,
java.lang.String dir,
Update.UpdateEnum type)
Update the given file in the given directory.
|
static void |
updateCell(Cell cell,
Update.UpdateEnum type)
Update a Cell.
|
static void |
updateLibrary(Library lib,
Update.UpdateEnum type)
Update all Cells from a library.
|
static void |
updateOpenLibraries(Update.UpdateEnum type)
Update all open libraries.
|
static void |
updateProject(Update.UpdateEnum type)
Update all libraries.
|
public static void updateProject(Update.UpdateEnum type)
type - the type of update to dopublic static void updateOpenLibraries(Update.UpdateEnum type)
type - the type of update to dopublic static void updateLibrary(Library lib, Update.UpdateEnum type)
lib - type - the type of update to dopublic static void updateCell(Cell cell, Update.UpdateEnum type)
cell - type - the type of update to dopublic static void update(java.util.List<Library> libs, java.util.List<Cell> cells, Update.UpdateEnum type, boolean updateProject, boolean checkEditors)
libs - cells - type - updateProject - checkEditors - protected static Update.StatusResult update(java.lang.String cvsProgram, java.lang.String repository, java.lang.String file, java.lang.String dir, Update.UpdateEnum type)
cvsProgram - the name of CVS programrepository - the path to CVS repositoryfile - the name of the file.dir - the directory.public static void rollback(Cell cell)
public static void rollback(Library lib)
public static void commentStatusResult(Update.StatusResult result, Update.UpdateEnum type)