public interface IBranch
Modifier and Type | Method and Description |
---|---|
List<IVersion> |
getAllVersionsFor(IResource resource,
int begin,
int end)
Get the list of all versions for a resource in a snapshot
|
ISnapshot |
getDefaultSnapshot()
Get the latest versuined snapshot for the branch
|
String |
getDescription()
Get the description for the branch
|
String |
getId()
Get the id for a branch
|
String |
getName()
Get the name for the branch
|
ISandbox |
getSandbox()
Get the sandbox for the branch
|
List<ISnapshot> |
getSnapshots(int begin,
int end)
Get a list of all of the snapshots for a range
|
Time |
getTime()
Get the time that the branch was created
|
String getId() throws VersionException
VersionException
String getName() throws VersionException
String
- the name of the branchVersionException
String getDescription() throws VersionException
VersionException
Time getTime() throws VersionException
VersionException
ISnapshot getDefaultSnapshot() throws VersionException
VersionException
ISandbox getSandbox() throws VersionException
VersionException
List<ISnapshot> getSnapshots(int begin, int end) throws VersionException
begin
- the starting versionend
- the starting versionVersionException
List<IVersion> getAllVersionsFor(IResource resource, int begin, int end) throws VersionException
resource
- the resource for a branchbegin
- the starting versionend
- the starting versionVersionException