| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| package org.apache.shardingsphere.elasticjob.lite.spring.namespace.job.tag; |
| |
| import lombok.AccessLevel; |
| import lombok.NoArgsConstructor; |
| |
| /** |
| * Job bean definition tag. |
| */ |
| @NoArgsConstructor(access = AccessLevel.PRIVATE) |
| public final class JobBeanDefinitionTag { |
| |
| public static final String JOB_REF_ATTRIBUTE = "job-ref"; |
| |
| public static final String JOB_TYPE_ATTRIBUTE = "job-type"; |
| |
| public static final String REGISTRY_CENTER_REF_ATTRIBUTE = "registry-center-ref"; |
| |
| public static final String TRACING_REF_ATTRIBUTE = "tracing-ref"; |
| |
| public static final String CRON_ATTRIBUTE = "cron"; |
| |
| public static final String SHARDING_TOTAL_COUNT_ATTRIBUTE = "sharding-total-count"; |
| |
| public static final String SHARDING_ITEM_PARAMETERS_ATTRIBUTE = "sharding-item-parameters"; |
| |
| public static final String JOB_PARAMETER_ATTRIBUTE = "job-parameter"; |
| |
| public static final String MONITOR_EXECUTION_ATTRIBUTE = "monitor-execution"; |
| |
| public static final String FAILOVER_ATTRIBUTE = "failover"; |
| |
| public static final String MISFIRE_ATTRIBUTE = "misfire"; |
| |
| public static final String MAX_TIME_DIFF_SECONDS_ATTRIBUTE = "max-time-diff-seconds"; |
| |
| public static final String RECONCILE_INTERVAL_MINUTES = "reconcile-interval-minutes"; |
| |
| public static final String JOB_SHARDING_STRATEGY_TYPE_ATTRIBUTE = "job-sharding-strategy-type"; |
| |
| public static final String JOB_EXECUTOR_SERVICE_HANDLER_TYPE_ATTRIBUTE = "job-executor-service-handler-type"; |
| |
| public static final String JOB_ERROR_HANDLER_TYPE_ATTRIBUTE = "job-error-handler-type"; |
| |
| public static final String JOB_LISTENER_TYPES_ATTRIBUTE = "job-listener-types"; |
| |
| public static final String DESCRIPTION_ATTRIBUTE = "description"; |
| |
| public static final String PROPS_TAG = "props"; |
| |
| public static final String DISABLED_ATTRIBUTE = "disabled"; |
| |
| public static final String OVERWRITE_ATTRIBUTE = "overwrite"; |
| |
| public static final String LABEL_ATTRIBUTE = "label"; |
| |
| public static final String STATIC_SHARDING_ATTRIBUTE = "static-sharding"; |
| } |