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 GHProject
project
The 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 GHProjectCard
createCard(String note)
Create card gh project card.GHProjectCard
createCard(GHIssue issue)
Create card gh project card.void
delete()
Delete.protected String
getApiRoute()
Gets api route.URL
getHtmlUrl()
Gets the html url.String
getName()
Gets name.GHProject
getProject()
Gets project.URL
getProjectUrl()
Gets project url.GitHub
getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.PagedIterable<GHProjectCard>
listCards()
List cards paged iterable.void
setName(String name)
Sets name.GHProjectColumn
wrap(GHProject project)
Deprecated.GHProjectColumn
wrap(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:
getHtmlUrl
in 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 IOException
Delete.- 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 theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
-