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.boolean
Is archived boolean.void
setArchived
(boolean archived) Sets archived.void
Sets note.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.- Returns:
- the html url
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
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
-