class JobGraph implements Serializable {

	public boolean isCheckpointingEnabled() {

		if (snapshotSettings == null) {
			return false;
		}

		long checkpointInterval = snapshotSettings.getCheckpointCoordinatorConfiguration().getCheckpointInterval();
		return checkpointInterval > 0 &&
			checkpointInterval < Long.MAX_VALUE;
	}

	public  JobGraph(String jobName);
	public  JobGraph(JobID jobId, String jobName);
	public  JobGraph(JobVertex... vertices);
	public  JobGraph(String jobName, JobVertex... vertices);
	public  JobGraph(JobID jobId, String jobName, JobVertex... vertices);

}