private void processState(JobState state) throws CancelledException {
		switch (state) {
			case LOADING:
				loadData();
				break;
			case FILTERING:
				doFilterData();
				break;
			case ADD_REMOVING:
				doProcessAddRemoves();
				break;
			case SORTING:
				sortData();
				break;
			case APPLYING:
				applyData();
				break;
			case CANCELLED:
				notifyCancelled();
				break;
			default:
		}
	}
Calls the appropriate method to process the given state.
@param state the state to process.
@throws CancelledException if the job was cancelled
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java