public class ResultEvent extends Object
Constructor and Description |
---|
ResultEvent(String jid,
String minionId,
Map<String,Object> data)
Creates a new ResultEvent
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getData()
The event data containing more information about this event
|
String |
getJid()
The job id to which the result belongs
|
String |
getMinionId()
The id of the minion from which the result came
|
static Optional<ResultEvent> |
parse(Event event)
Utility method to parse e generic event to a more specific one
|
public String getJid()
public String getMinionId()
public Map<String,Object> getData()
public static Optional<ResultEvent> parse(Event event)
event
- the generic event to parseCopyright © 2016. All rights reserved.