org.eclipse.dirigible.engine.job.synchronizer.JobSynchronizerJob Maven / Gradle / Ivy
/*
* Copyright (c) ${license.git.copyrightYears} SAP SE or an SAP affiliate company and Eclipse Dirigible contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* SPDX-FileCopyrightText: ${license.git.copyrightYears} SAP SE or an SAP affiliate company and Eclipse Dirigible contributors
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.dirigible.engine.job.synchronizer;
import org.eclipse.dirigible.commons.api.module.StaticInjector;
import org.eclipse.dirigible.core.scheduler.api.AbstractSynchronizerJob;
import org.eclipse.dirigible.core.scheduler.api.ISynchronizer;
/**
* The Class JobSynchronizerJob.
*/
public class JobSynchronizerJob extends AbstractSynchronizerJob {
private JobSynchronizer jobSynchronizer = StaticInjector.getInjector().getInstance(JobSynchronizer.class);
/*
* (non-Javadoc)
* @see org.eclipse.dirigible.core.scheduler.api.AbstractSynchronizerJob#getSynchronizer()
*/
@Override
public ISynchronizer getSynchronizer() {
return jobSynchronizer;
}
/*
* (non-Javadoc)
* @see org.eclipse.dirigible.core.scheduler.api.AbstractSynchronizerJob#getName()
*/
@Override
public String getName() {
return JobSynchronizerJobDefinitionProvider.JOB_SYNCHRONIZER_JOB;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy