public Status getExecutionRecordStatus(String state) {
		if (ER_STATUS_FAILED.equals(state)) {
			return ExecutionRecord.Status.FAILED;
		} else if (ER_STATUS_BLOCKED.equals(state)) {
			return ExecutionRecord.Status.BLOCKED;
		} else if (ER_STATUS_NOTATTEMPTED.equals(state)) {
			return ExecutionRecord.Status.NOTATTEMPTED;
		} else if (ER_STATUS_SUCCESSFUL.equals(state)) {
			return ExecutionRecord.Status.SUCCESSFUL;
		} else if (ER_STATUS_WORKING.equals(state)) {
			return ExecutionRecord.Status.WORKING;
		} else if (ER_STATUS_STOPPED.equals(state)) {
			return ExecutionRecord.Status.STOPPED;
		} else {
			logger.log(LogLevel.ERROR, "No defined status for '" + state + "'!");
			return null;
		}
	}