public void checkConfiguration() throws RuntimeConfigurationException { String executableName = ""; if (myRunnerParameters == null || complainIfEmpty( executableName = myRunnerParameters.getExecutableName(), INVALID_EXECUTABLE_FILE_NAME) || !new File(executableName).exists()) { throw new RuntimeConfigurationError(INVALID_EXECUTABLE_FILE_NAME + executableName); } }
@Override public void writeExternal(Element element) throws WriteExternalException { super.writeExternal(element); String executable = myRunnerParameters != null ? myRunnerParameters.getExecutableName() : null; if (executable != null) element.setAttribute(EXECUTABLE_NAME, executable); }