Interface BranchApi
-
- All Known Implementing Classes:
BranchApi.NotImplemented
public interface BranchApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BranchApi.NotImplemented
A default implementation which allows source compatibility when adding new methods to the interface.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BranchApi
create(BranchInput in)
void
delete()
BinaryResult
file(String path)
Returns the content of a file from the HEAD revision.BranchInfo
get()
List<ReflogEntryInfo>
reflog()
-
-
-
Method Detail
-
create
BranchApi create(BranchInput in) throws RestApiException
- Throws:
RestApiException
-
get
BranchInfo get() throws RestApiException
- Throws:
RestApiException
-
delete
void delete() throws RestApiException
- Throws:
RestApiException
-
file
BinaryResult file(String path) throws RestApiException
Returns the content of a file from the HEAD revision.- Throws:
RestApiException
-
reflog
List<ReflogEntryInfo> reflog() throws RestApiException
- Throws:
RestApiException
-
-