| Modifier and Type | Class and Description |
|---|---|
static class |
GHProject.ProjectState
The enum ProjectState.
|
static class |
GHProject.ProjectStateFilter
The enum ProjectStateFilter.
|
| Modifier and Type | Field and Description |
|---|---|
protected GHObject |
owner |
protected GitHub |
root |
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHProject() |
| Modifier and Type | Method and Description |
|---|---|
GHProjectColumn |
createColumn(String name)
Create column gh project column.
|
void |
delete()
Delete.
|
protected String |
getApiRoute()
Gets api route.
|
String |
getBody()
Gets body.
|
GHUser |
getCreator()
Gets creator.
|
URL |
getHtmlUrl()
Gets html url.
|
String |
getName()
Gets name.
|
String |
getNode_id()
Gets node id.
|
int |
getNumber()
Gets number.
|
GHObject |
getOwner()
Gets owner.
|
URL |
getOwnerUrl()
Gets owner url.
|
GitHub |
getRoot()
Gets root.
|
GHProject.ProjectState |
getState()
Gets state.
|
PagedIterable<GHProjectColumn> |
listColumns()
List columns paged iterable.
|
void |
setBody(String body)
Sets body.
|
void |
setName(String name)
Sets name.
|
void |
setOrganizationPermission(GHPermissionType permission)
Set the permission level that all members of the project's organization will have on this project.
|
void |
setPublic(boolean isPublic)
Sets visibility of the project within the organization.
|
void |
setState(GHProject.ProjectState state)
Sets state.
|
GHProject |
wrap(GHRepository repo)
Wrap gh project.
|
GHProject |
wrap(GitHub root)
Wrap gh project.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringpublic URL getHtmlUrl() throws IOException
GHObjectgetHtmlUrl in class GHObjectIOException - on errorpublic GitHub getRoot()
public GHObject getOwner() throws IOException
IOException - the io exceptionpublic URL getOwnerUrl()
public String getNode_id()
public String getName()
public String getBody()
public int getNumber()
public GHProject.ProjectState getState()
public GHUser getCreator()
public GHProject wrap(GHRepository repo)
repo - the repopublic GHProject wrap(GitHub root)
root - the rootprotected String getApiRoute()
public void setName(String name) throws IOException
name - the nameIOException - the io exceptionpublic void setBody(String body) throws IOException
body - the bodyIOException - the io exceptionpublic void setState(GHProject.ProjectState state) throws IOException
state - the stateIOException - the io exceptionpublic void setOrganizationPermission(GHPermissionType permission) throws IOException
permission - the permissionIOException - the io exceptionpublic void setPublic(boolean isPublic)
throws IOException
isPublic - the is publicIOException - the io exceptionpublic void delete()
throws IOException
IOException - the io exceptionpublic PagedIterable<GHProjectColumn> listColumns() throws IOException
IOException - the io exceptionpublic GHProjectColumn createColumn(String name) throws IOException
name - the nameIOException - the io exceptionCopyright © 2020. All rights reserved.