diff --git a/apidocs/allclasses-frame.html b/apidocs/allclasses-frame.html index 27e8b50f2..0e1b25c3d 100644 --- a/apidocs/allclasses-frame.html +++ b/apidocs/allclasses-frame.html @@ -2,10 +2,10 @@
- + -public final class GHContentBuilder +extends Object+
+ Call various methods to build up parameters, then call commit() to make the change effective.
GHRepository.createContent()| Modifier and Type | +Method and Description | +
|---|---|
GHContentBuilder |
+branch(String branch) |
+
GHContentUpdateResponse |
+commit()
+Commits a new content.
+ |
+
GHContentBuilder |
+content(byte[] content) |
+
GHContentBuilder |
+content(String content) |
+
GHContentBuilder |
+message(String commitMessage) |
+
GHContentBuilder |
+path(String path) |
+
GHContentBuilder |
+sha(String sha)
+Used when updating (but not creating a new content) to specify
+ Thetblob SHA of the file being replaced.
+ |
+
public GHContentBuilder path(String path)+
public GHContentBuilder branch(String branch)+
public GHContentBuilder sha(String sha)+
public GHContentBuilder content(byte[] content)+
public GHContentBuilder content(String content)+
public GHContentBuilder message(String commitMessage)+
public GHContentUpdateResponse commit() + throws IOException+
IOExceptionCopyright © 2018. All rights reserved.
+ +