Class GitHubRelease
- java.lang.Object
-
- com.mooltiverse.oss.nyx.services.github.GitHubRelease
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.mooltiverse.oss.nyx.services.github.API
getAPI()
Returns the internal API reference.Map<String,Object>
getAttributes()
Returns the map of attributes this object is built onString
getTag()
Returns the tag the release refers to.String
getTitle()
Returns the release title.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.
-
-
-
Method Detail
-
getTitle
public String getTitle()
Returns the release title.
-
getTag
public String getTag()
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 isnull
-
getAPI
protected com.mooltiverse.oss.nyx.services.github.API getAPI()
Returns the internal API reference.- Returns:
- the internal API reference.
-
-