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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Delete.protected String
Gets 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.boolean
Is archived boolean.void
setArchived
(boolean archived) Sets archived.void
Sets 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()
-
-
Method Details
-
getHtmlUrl
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.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 aGHPullRequest
or 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 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
-
GitHub
instance, use a local copy instead of pulling it out of objects.