Package org.kohsuke.github
Class GHProjectCard
java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHProjectCard
The type GHProjectCard.
- Author:
- Gunnar Skjold
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete.protected StringGets api route.Gets column.Gets column url.Gets content if present.Gets content url.Gets creator.Gets the html url.getNote()Gets note.Gets project.Gets project url.getRoot()Deprecated.booleanIs archived boolean.voidsetArchived(boolean archived) Sets archived.voidSets note.wrap(GHProjectColumn column) Deprecated.Deprecated.Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHProjectCard
public GHProjectCard()Create default GHProjectCard instance
-
-
Method Details
-
getHtmlUrl
Gets the html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- the html url
- Throws:
IOException- Signals that an I/O exception has occurred.
-
wrap
Deprecated.Wrap gh project card.- Parameters:
root- the root- Returns:
- the gh project card
-
wrap
Deprecated.Wrap gh project card.- Parameters:
column- the column- Returns:
- the gh project card
-
getProject
Gets project.- Returns:
- the project
- Throws:
IOException- the io exception
-
getColumn
Gets column.- Returns:
- the column
- Throws:
IOException- the io exception
-
getContent
Gets content if present. Might be aGHPullRequestor aGHIssue.- Returns:
- the content
- Throws:
IOException- the io exception
-
getNote
Gets note.- Returns:
- the note
-
getCreator
Gets creator.- Returns:
- the creator
-
getContentUrl
Gets content url.- Returns:
- the content url
-
getProjectUrl
Gets project url.- Returns:
- the project url
-
getColumnUrl
Gets column url.- Returns:
- the column url
-
isArchived
public boolean isArchived()Is archived boolean.- Returns:
- the boolean
-
setNote
Sets note.- Parameters:
note- the note- Throws:
IOException- the io exception
-
setArchived
Sets archived.- Parameters:
archived- the archived- Throws:
IOException- the io exception
-
getApiRoute
Gets api route.- Returns:
- the api route
-
delete
Delete.- Throws:
IOException- the io exception
-
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
-
GitHubinstance, use a local copy instead of pulling it out of objects.