public String detectParam(String possibleParam)
			throws ParameterNotPresentException {

		if (possibleParam == null || !getCondition().validate(possibleParam)) {
			if (isOptional()) {
				return getDefaultOption();
			} else {
				throw new ParameterNotPresentException(this);
			}
		}
		return possibleParam;
	}