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

io.digdag.spi.LogFilePrefix Maven / Gradle / Ivy

package io.digdag.spi;

import java.time.Instant;
import java.time.ZoneId;
import com.google.common.base.Optional;
import org.immutables.value.Value;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

@Value.Immutable
@JsonSerialize(as = ImmutableLogFilePrefix.class)
@JsonDeserialize(as = ImmutableLogFilePrefix.class)
public interface LogFilePrefix
{
    int getSiteId();

    int getProjectId();

    String getWorkflowName();

    Instant getSessionTime();

    ZoneId getTimeZone();

    Optional getRetryAttemptName();

    Instant getCreatedAt();

    static ImmutableLogFilePrefix.Builder builder()
    {
        return ImmutableLogFilePrefix.builder();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy