|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.cvspm.Update
public class Update
User: gainsley Date: Mar 13, 2006
Nested Class Summary | |
---|---|
static class |
Update.StatusResult
|
static class |
Update.UpdateEnum
|
Constructor Summary | |
---|---|
Update()
|
Method Summary | |
---|---|
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 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Update()
Method Detail |
---|
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 file, java.lang.String dir, Update.UpdateEnum type)
file
- 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |