All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imast.work4j.model.iterate.Iteration Maven / Gradle / Ivy

There is a newer version: 0.0.1.PREVIEW
Show newest version
package io.imast.work4j.model.iterate;

import java.util.Date;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * The job iteration data structure
 * 
 * @author davitp
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
public class Iteration {
    
    /**
     * The iteration identifier
     */
    private String id;
    
    /**
     * The job identifier
     */
    private String jobId;
    
    /**
     * The execution instance identifier
     */
    private String executionId;
    
    /**
     * The worker the iteration was executed in
     */
    private String worker;
    
    /**
     * The status of performed iteration 
     */
    private IterationStatus status;
    
    /**
     * The message of iteration if available
     */
    private String message;
    
    /**
     * The iteration payload if available
     */
    private Map payload;
    
    /**
     * The run time of iteration
     */
    private Long runtime;
    
    /**
     * The timestamp of the iteration
     */
    private Date timestamp;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy