return methodSelectionHistory;
}
public void checkConfiguration() throws RuntimeConfigurationException {
if (executionInput == null) {
throw new RuntimeConfigurationError("No method selected.");
}
if (getMethod() == null) {
throw new RuntimeConfigurationError(
"Method " + executionInput.getMethodRef().getQualifiedMethodName() + " could not be resolved. " +
"The database connection is down or method has been dropped.");
}
ConnectionHandler connectionHandler = getMethod().getConnectionHandler();
DatabaseCompatibilityInterface compatibilityInterface = connectionHandler.getInterfaceProvider().getCompatibilityInterface();
if (!compatibilityInterface.supportsFeature(DatabaseFeature.DEBUGGING)){
throw new RuntimeConfigurationError(
"Debugging is not supported for " + connectionHandler.getDatabaseType().getDisplayName() +" databases.");
}
}