class EnvironmentCmdExecutor implements CmdExecutor {

    @Override
    public String executeCommand(final String command,
                                 final Map<String, String> environmentVariables,
                                 final File workDir,
                                 final String username) {
        return executor.executeCommand(command, withDefaults(environmentVariables), workDir, username);
    }

}