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 GHProjectprojectThe project.-
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 the html url.StringgetName()Gets name.GHProjectgetProject()Gets project.URLgetProjectUrl()Gets project url.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.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
The project.
-
-
Method Detail
-
getHtmlUrl
public URL getHtmlUrl() throws IOException
Gets the html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- the html url
- Throws:
IOException- Signals that an I/O exception has occurred.
-
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
-
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
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-