io.camunda.webapps.schema.descriptors.operate.template.JobTemplate Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Camunda License 1.0. You may not use this file
* except in compliance with the Camunda License 1.0.
*/
package io.camunda.webapps.schema.descriptors.operate.template;
import io.camunda.webapps.schema.descriptors.backup.Prio3Backup;
import io.camunda.webapps.schema.descriptors.operate.OperateTemplateDescriptor;
import io.camunda.webapps.schema.descriptors.operate.ProcessInstanceDependant;
public class JobTemplate extends OperateTemplateDescriptor
implements ProcessInstanceDependant, Prio3Backup {
public static final String INDEX_NAME = "job";
// Long
public static final String FLOW_NODE_INSTANCE_ID = "flowNodeInstanceId";
// String - human readable name
public static final String FLOW_NODE_ID = "flowNodeId";
public static final String TENANT_ID = "tenantId";
public static final String JOB_TYPE = "type";
public static final String JOB_WORKER = "worker";
public static final String RETRIES = "retries";
public static final String JOB_STATE = "state";
public static final String ERROR_MESSAGE = "errorMessage";
public static final String ERROR_CODE = "errorCode";
public static final String JOB_DEADLINE = "deadline";
public static final String TIME = "endTime";
public static final String CUSTOM_HEADERS = "customHeaders";
public static final String JOB_KIND = "jobKind";
public static final String LISTENER_EVENT_TYPE = "listenerEventType";
public static final String JOB_KEY = "key";
public static final String PARTITION_ID = "partitionId";
public static final String JOB_FAILED_WITH_RETRIES_LEFT = "jobFailedWithRetriesLeft";
public JobTemplate(final String indexPrefix, final boolean isElasticsearch) {
super(indexPrefix, isElasticsearch);
}
@Override
public String getIndexName() {
return INDEX_NAME;
}
@Override
public String getVersion() {
return "8.6.0";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy