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 Details

    • project

      protected GHProject project
      The project.
  • Constructor Details

    • GHProjectColumn

      public GHProjectColumn()
  • Method Details

    • getHtmlUrl

      public URL getHtmlUrl() throws IOException
      Gets the html url.
      Specified by:
      getHtmlUrl in class GHObject
      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 the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance