class CurrentJobsOverviewHandler extends AbstractJsonRequestHandler implements LegacyRestHandler<DispatcherGateway, MultipleJobsDetails, EmptyMessageParameters> {

	@Override
	public String[] getPaths() {
		if (includeRunningJobs && includeFinishedJobs) {
			return new String[]{ALL_JOBS_REST_PATH};
		}
		if (includeRunningJobs) {
			return new String[]{RUNNING_JOBS_REST_PATH};
		} else {
			return new String[]{COMPLETED_JOBS_REST_PATH};
		}
	}

	public  CurrentJobsOverviewHandler(
			Executor executor,
			Time timeout,
			boolean includeRunningJobs,
			boolean includeFinishedJobs);

}