summaryrefslogblamecommitdiffstats
path: root/gearman/controllerWorker/ControllerWorker/ClientJob.java
blob: 549220859c127d6f157a987f9d1834ef85ff4209 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                         
                                          
 


                                      
                                                              



                                             







                                           
package ControllerWorker;

import org.gearman.client.GearmanJob;

public class ClientJob {
	public static int WOLJOB = 0;
	public static int PINGJOB = 1;
	public static int OSJOB = 2;
	public static int WHOJOB = 3;
	public static int PSJOB = 4;
	public static int RESTARTJOB = 5;
	public static int SHUTDOWNJOB = 6;

	private int JobType;
	private GearmanJob gearmanJob;

	public ClientJob(int jobType, GearmanJob gearmanJob) {
		this.JobType = jobType;
		this.gearmanJob = gearmanJob;
	}

	public int getJobType() {
		return JobType;
	}

	public GearmanJob getGearmanJob() {
		return gearmanJob;
	}
}