org.graylog2.rest.models.system.AutoValue_SystemJobSummary Maven / Gradle / Ivy
package org.graylog2.rest.models.system;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.lang.String;
import java.time.Duration;
import javax.annotation.Nullable;
import org.graylog.scheduler.JobTriggerStatus;
import org.joda.time.DateTime;
final class AutoValue_SystemJobSummary extends $AutoValue_SystemJobSummary {
AutoValue_SystemJobSummary(String id, String description, String name, String info, String nodeId,
DateTime startedAt, Duration executionDuration, int percentComplete, boolean isCancelable,
boolean providesProgress, JobTriggerStatus jobStatus) {
super(id, description, name, info, nodeId, startedAt, executionDuration, percentComplete, isCancelable, providesProgress, jobStatus);
}
@JsonIgnore
public final String getId() {
return id();
}
@JsonIgnore
public final String getDescription() {
return description();
}
@JsonIgnore
public final String getName() {
return name();
}
@JsonIgnore
public final String getInfo() {
return info();
}
@JsonIgnore
public final String getNodeId() {
return nodeId();
}
@JsonIgnore
@Nullable
public final DateTime getStartedAt() {
return startedAt();
}
@JsonIgnore
@Nullable
public final Duration getExecutionDuration() {
return executionDuration();
}
@JsonIgnore
public final int getPercentComplete() {
return percentComplete();
}
@JsonIgnore
public final boolean isIsCancelable() {
return isCancelable();
}
@JsonIgnore
public final boolean isProvidesProgress() {
return providesProgress();
}
@JsonIgnore
public final JobTriggerStatus getJobStatus() {
return jobStatus();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy