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

com.alibaba.dts.client.executor.job.context.JobContext Maven / Gradle / Ivy

package com.alibaba.dts.client.executor.job.context;

import com.alibaba.dts.client.executor.logcollector.AbstractLogCollector;
import com.alibaba.dts.common.domain.store.Job;
import com.alibaba.dts.common.domain.store.JobInstanceSnapshot;

/**
 * job上下文
 * @author tianyao.myc
 *
 */
public interface JobContext {


	public Job getJob();

	public JobInstanceSnapshot getJobInstanceSnapshot();

	public int getRetryCount() ;

	public void setRetryCount(int retryCount);

	public void setJob(Job job);

	public void setJobInstanceSnapshot(JobInstanceSnapshot jobInstanceSnapshot);

	public Object getRouteTask();

	public void setRouteTask(Object routeTask);

	public boolean isStop();

	public void setStop(boolean stop);

	public AbstractLogCollector getLogCollector();

    public void setLogCollector(AbstractLogCollector logCollector);
	
	ClientContext getClientContext();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy