Package org.kohsuke.github
Class GHProjectColumn
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHProjectColumn
-
public class GHProjectColumn extends GHObject
The type GHProjectColumn.- Author:
- Gunnar Skjold
-
-
Field Summary
Fields Modifier and Type Field Description protected GHProjectproject-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHProjectColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GHProjectCardcreateCard(String note)Create card gh project card.GHProjectCardcreateCard(GHIssue issue)Create card gh project card.voiddelete()Delete.protected StringgetApiRoute()Gets api route.URLgetHtmlUrl()Gets html url.StringgetName()Gets name.GHProjectgetProject()Gets project.URLgetProjectUrl()Gets project url.GitHubgetRoot()Gets root.PagedIterable<GHProjectCard>listCards()List cards paged iterable.voidsetName(String name)Sets name.GHProjectColumnwrap(GHProject project)Deprecated.GHProjectColumnwrap(GitHub root)Deprecated.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Field Detail
-
project
protected GHProject project
-
-
Method Detail
-
getHtmlUrl
public URL getHtmlUrl() throws IOException
Description copied from class:GHObjectGets html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- URL of this object for humans, which renders some HTML.
- Throws:
IOException- on error
-
wrap
@Deprecated public GHProjectColumn wrap(GitHub root)
Deprecated.Wrap gh project column.- Parameters:
root- the root- Returns:
- the gh project column
-
wrap
@Deprecated public GHProjectColumn wrap(GHProject project)
Deprecated.Wrap gh project column.- Parameters:
project- the project- Returns:
- the gh project column
-
getRoot
public GitHub getRoot()
Gets root.- Returns:
- the root
-
getProject
public GHProject getProject() throws IOException
Gets project.- Returns:
- the project
- Throws:
IOException- the io exception
-
getName
public String getName()
Gets name.- Returns:
- the name
-
getProjectUrl
public URL getProjectUrl()
Gets project url.- Returns:
- the project url
-
setName
public void setName(String name) throws IOException
Sets name.- Parameters:
name- the name- Throws:
IOException- the io exception
-
getApiRoute
protected String getApiRoute()
Gets api route.- Returns:
- the api route
-
delete
public void delete() throws IOExceptionDelete.- Throws:
IOException- the io exception
-
listCards
public PagedIterable<GHProjectCard> listCards() throws IOException
List cards paged iterable.- Returns:
- the paged iterable
- Throws:
IOException- the io exception
-
createCard
public GHProjectCard createCard(String note) throws IOException
Create card gh project card.- Parameters:
note- the note- Returns:
- the gh project card
- Throws:
IOException- the io exception
-
createCard
public GHProjectCard createCard(GHIssue issue) throws IOException
Create card gh project card.- Parameters:
issue- the issue- Returns:
- the gh project card
- Throws:
IOException- the io exception
-
-