Interface Release

All Superinterfaces:
JsonPatchable, JsonReadable
All Known Implementing Classes:
Release.Smart

@Immutable public interface Release extends JsonReadable, JsonPatchable
GitHub release.
Since:
0.8
See Also:
Suppressed Checkstyle violations:
MultipleStringLiterals (500 lines)
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Smart release.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get all release assets of this release.
    void
    Deletes a release.
    int
    Release id.
    Owner of them.

    Methods inherited from interface com.jcabi.github.JsonPatchable

    patch

    Methods inherited from interface com.jcabi.github.JsonReadable

    json
  • Method Details

    • repo

      Repo repo()
      Owner of them.
      Returns:
      Repo
    • number

      int number()
      Release id.
      Returns:
      Id
    • delete

      void delete() throws IOException
      Deletes a release.
      Throws:
      IOException - If any I/O problems occur.
    • assets

      ReleaseAssets assets()
      Get all release assets of this release.
      Returns:
      Release assets.
      See Also: