Class GitHubRelease

  • All Implemented Interfaces:
    Release

    public class GitHubRelease
    extends Object
    implements Release
    A GitHub release.
    • Method Detail

      • getTitle

        public String getTitle()
        Returns the release title.
        Specified by:
        getTitle in interface Release
        Returns:
        the release title.
      • getTag

        public String getTag()
        Returns the tag the release refers to.
        Specified by:
        getTag in interface Release
        Returns:
        the tag the release refers to.
      • toAttributeMap

        protected static Map<String,​Object> toAttributeMap​(com.fasterxml.jackson.databind.JsonNode node)
        Reads all the attributes of the given object and puts them in the resulting map.
        Parameters:
        node - the node to read the attributes from
        Returns:
        the map with all the attributes from the given node
        Throws:
        NullPointerException - if the given node is null
      • getAPI

        protected com.mooltiverse.oss.nyx.services.github.API getAPI()
        Returns the internal API reference.
        Returns:
        the internal API reference.
      • getAttributes

        public Map<String,​Object> getAttributes()
        Returns the map of attributes this object is built on
        Returns:
        the map of attributes this object is bbyuiltuilt on