public class JobReturnEvent extends Object
Constructor and Description |
---|
JobReturnEvent(String jobIdIn,
String minionIdIn,
Map<String,Object> dataIn)
Creates a new JobReturnEvent
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getData()
The event data containing more information about this event
|
String |
getJobId()
The id of the job
|
String |
getMinionId()
The id of the minion that returned the ob
|
static Optional<JobReturnEvent> |
parse(Event event)
Utility method to parse a generic event into a more specific one.
|
public String getJobId()
public String getMinionId()
public Map<String,Object> getData()
public static Optional<JobReturnEvent> parse(Event event)
event
- the generic event to parseCopyright © 2016. All rights reserved.