org.kohsuke.github
Class GHGistBuilder
java.lang.Object
org.kohsuke.github.GHGistBuilder
public class GHGistBuilder
- extends Object
Builder pattern for creating a new Gist.
- Author:
- Kohsuke Kawaguchi
- See Also:
GitHub.createGist()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GHGistBuilder
public GHGistBuilder(GitHub root)
description
public GHGistBuilder description(String desc)
public_
public GHGistBuilder public_(boolean v)
file
public GHGistBuilder file(String fileName,
String content)
- Adds a new file.
create
public GHGist create()
throws IOException
- Creates a Gist based on the parameters specified thus far.
- Throws:
IOException
Copyright © 2014. All rights reserved.