com.ververica.common.model.job.Job Maven / Gradle / Ivy
package com.ververica.common.model.job;
import com.ververica.common.model.Failure;
import com.ververica.common.model.deployment.Artifact;
import com.ververica.common.model.deployment.KubernetesOptions;
import com.ververica.common.model.logging.Logging;
import com.ververica.common.model.resource.ResourceSpec;
import java.net.URI;
import java.util.Date;
import java.util.Map;
import lombok.Data;
@Data
public class Job {
JobMetadata metadata;
JobSpec spec;
JobStatus status;
@Data
public static class JobMetadata {
String id;
String namespace;
Date createdAt;
Date modifiedAt;
Date terminatedAt;
String deploymentId;
String deploymentName;
Map annotations;
Integer resourceVersion;
}
@Data
public static class JobSpec {
URI savepointLocation;
boolean allowNonRestoredState;
Integer parallelism;
Integer numberOfTaskManagers;
Artifact artifact;
Logging logging;
Map flinkConfiguration;
Map resources;
KubernetesOptions kubernetes;
JobDeploymentTarget deploymentTarget;
Map secretValues;
}
@Data
public static class JobStatus {
JobStatusState state;
Failure failure;
JobStatusStarted started;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy