com.gooddata.connector.ProcessStatus Maven / Gradle / Ivy
/*
* Copyright (C) 2007-2014, GoodData(R) Corporation. All rights reserved.
*/
package com.gooddata.connector;
import com.gooddata.util.ISODateTimeDeserializer;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.joda.time.DateTime;
import java.util.Map;
/**
* Connector process (i.e. single ETL run) status (standalone, not embedded in integration as its parent) .
* Deserialization only.
*/
@JsonTypeName("process")
@JsonTypeInfo(include = JsonTypeInfo.As.WRAPPER_OBJECT, use = JsonTypeInfo.Id.NAME)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProcessStatus extends IntegrationProcessStatus {
public static final String URL = "/gdc/projects/{project}/connectors/{connector}/integration/processes";
@JsonCreator
ProcessStatus(@JsonProperty("status") Status status,
@JsonProperty("started") @JsonDeserialize(using = ISODateTimeDeserializer.class) DateTime started,
@JsonProperty("finished") @JsonDeserialize(using = ISODateTimeDeserializer.class) DateTime finished,
@JsonProperty("links") Map links) {
super(status, started, finished, links);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy