|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aragost.javahg.Bundle
public class Bundle
| Constructor Summary | |
|---|---|
Bundle(BaseRepository baseRepository,
File file)
Create a new bundle. |
|
Bundle(BaseRepository baseRepository,
File file,
boolean manageFile)
Create a new bundle. |
|
| Method Summary | |
|---|---|
void |
close()
|
BaseRepository |
getBaseRepository()
|
List<Changeset> |
getChangesets()
Return the changeset for this bundle. |
File |
getFile()
|
com.aragost.javahg.OverlayRepository |
getOverlayRepository()
|
void |
init(List<Changeset> changesets)
Do the final initialization of the bundle. |
void |
pushToRepository()
Push the changesets in the bundle to its base repository. |
void |
setManageFile(boolean manageFile)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bundle(BaseRepository baseRepository,
File file)
baseRepository - The base repository this bundle applies tofile - The bundle file.
public Bundle(BaseRepository baseRepository,
File file,
boolean manageFile)
baseRepository - The base repository this bundle applies tofile - The bundle filemanageFile - Whether to delete the bundle file when this bundle is closed.| Method Detail |
|---|
public File getFile()
public void setManageFile(boolean manageFile)
manageFile - Whether close should delete the bundle filepublic void init(List<Changeset> changesets)
This method is only public so it can be called from IncomingCommand
changesets - the changesets contained in this Bundlepublic List<Changeset> getChangesets()
public void close()
public BaseRepository getBaseRepository()
public com.aragost.javahg.OverlayRepository getOverlayRepository()
public void pushToRepository()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||