public void installFeatures(Collection<String> featureNames, String toExtension, boolean acceptLicense, String userId, String password) throws InstallException {
        installFeatures(featureNames, toExtension, acceptLicense, userId, password, 1);
    }
public void installFeatures ( Collection < String > featureNames , String toExtension , boolean acceptLicense , String userId , String password ) throws InstallException { installFeatures ( featureNames , toExtension , acceptLicense , userId , password , 1 ) ; }
Installs the specified features

@param featureNames collection of feature names to be installed
@param toExtension location of a product extension
@param acceptLicense if license is accepted
@param userId userId for repository
@param password password for repository
@throws InstallException