Interface BranchApi
-
- All Known Implementing Classes:
BranchApi.NotImplemented
public interface BranchApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBranchApi.NotImplementedA 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 BranchApicreate(BranchInput in)voiddelete()BinaryResultfile(String path)Returns the content of a file from the HEAD revision.BranchInfoget()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
-
-