public EnvironmentDriver getDriver(SystemImageType systemImageType) throws ExecutorException {
        for (EnvironmentDriver driver : availableDrivers) {
            if (driver.canRunImageType(systemImageType))
                return driver;
        }

        throw new ExecutorException("No environment driver available for " + systemImageType + " system image type.");
    }
public EnvironmentDriver getDriver(SystemImageType systemImageType) throws ExecutorException {
        for (EnvironmentDriver driver : availableDrivers) {
            if (driver.canRunImageType(systemImageType))
                return driver;
        }

        throw new ExecutorException("No environment driver available for " + systemImageType + " system image type.");
    }
public EnvironmentDriver getDriver ( SystemImageType systemImageType ) throws ExecutorException { for ( EnvironmentDriver driver : availableDrivers ) { if ( driver . canRunImageType ( systemImageType ) ) return driver ; } throw new ExecutorException ( "No environment driver available for " + systemImageType + " system image type." ) ; }
Gets environment driver, which can manage requested environment
@return Available driver for given systemImageType
@throws ExecutorException Throw if no suitable driver for selected environment was found
Gets environment driver which can manage requested environment