Class JobReturnEvent


  • public class JobReturnEvent
    extends Object
    Representation of job return events fired each time a minion returns data for a job.
    • Method Detail

      • getJobId

        public String getJobId()
        The id of the job
        Returns:
        job id
      • getMinionId

        public String getMinionId()
        Returns:
        the minion id
      • parse

        public static Optional<JobReturnEvent> parse​(Event event)
        Utility method to parse a generic event into a more specific one.
        Parameters:
        event - the generic event to parse
        Returns:
        an option containing the parsed value or non if it could not be parsed