Sha256: 7d94a5b9e1ada321135018a038e7ab0bc39a6d0ba94e51a878d74c643f830a3f

Contents?: true

Size: 1.22 KB

Versions: 8

Compression:

Stored size: 1.22 KB

Contents

package org.embulk.executor.remoteserver;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

class UpdateTaskStateData {
    private String sessionId;
    private int taskIndex;
    private TaskState taskState;
    private String taskReport;
    private String errorMessage;

    @JsonCreator
    UpdateTaskStateData(
            @JsonProperty("sessionId") String sessionId,
            @JsonProperty("taskIndex") int taskIndex,
            @JsonProperty("taskState") TaskState taskState) {
        this.sessionId = sessionId;
        this.taskIndex = taskIndex;
        this.taskState = taskState;
    }

    @JsonProperty
    String getSessionId() {
        return sessionId;
    }

    @JsonProperty
    int getTaskIndex() {
        return taskIndex;
    }

    @JsonProperty
    TaskState getTaskState() {
        return taskState;
    }

    @JsonProperty
    String getTaskReport() {
        return taskReport;
    }

    void setTaskReport(String taskReport) {
        this.taskReport = taskReport;
    }

    @JsonProperty
    String getErrorMessage() {
        return errorMessage;
    }

    void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embulk-executor-remoteserver-0.4.0 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.3.2 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.3.1 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.3.0 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.2.1 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.2.0 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.1.1 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java
embulk-executor-remoteserver-0.1.0 src/main/java/org/embulk/executor/remoteserver/UpdateTaskStateData.java