|
||||||||||
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
|
Field Summary | |
---|---|
static int |
ROLLBACK
|
static int |
ROLLFORWARD
|
static int |
STATUS
|
static int |
UPDATE
|
Constructor Summary | |
---|---|
Update()
|
Method Summary | |
---|---|
static void |
commentStatusResult(Update.StatusResult result,
int 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,
int 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,
int type)
Update the given file in the given directory. |
static void |
updateCell(Cell cell,
int type)
Update a Cell. |
static void |
updateLibrary(Library lib,
int type)
Update all Cells from a library. |
static void |
updateOpenLibraries(int type)
Update all open libraries. |
static void |
updateProject(int type)
Update all libraries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UPDATE
public static final int STATUS
public static final int ROLLBACK
public static final int ROLLFORWARD
Constructor Detail |
---|
public Update()
Method Detail |
---|
public static void updateProject(int type)
type
- the type of update to dopublic static void updateOpenLibraries(int type)
type
- the type of update to dopublic static void updateLibrary(Library lib, int type)
lib
- type
- the type of update to dopublic static void updateCell(Cell cell, int type)
cell
- type
- the type of update to dopublic static void update(java.util.List<Library> libs, java.util.List<Cell> cells, int type, boolean updateProject, boolean checkEditors)
libs
- cells
- type
- updateProject
- checkEditors
- protected static Update.StatusResult update(java.lang.String file, java.lang.String dir, int 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, int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |