All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.profiles.ProfileManager Maven / Gradle / Ivy

Go to download

This library is used to not only read Maven project object model files, but to assemble inheritence and to retrieve remote models as required.

There is a newer version: 3.0-alpha-2
Show newest version
package org.apache.maven.profiles;

import org.apache.maven.model.Profile;
import org.apache.maven.profiles.activation.ProfileActivationException;

import java.util.List;
import java.util.Map;

public interface ProfileManager
{

    void addProfile( Profile profile );

    void explicitlyActivate( String profileId );

    void explicitlyActivate( List profileIds );

    void explicitlyDeactivate( String profileId );

    void explicitlyDeactivate( List profileIds );
    
    void activateAsDefault( String profileId );

    List getActiveProfiles()
        throws ProfileActivationException;

    void addProfiles( List profiles );

    Map getProfilesById();
    
    List getExplicitlyActivatedIds();
    
    List getExplicitlyDeactivatedIds();
    
    List getIdsActivatedByDefault();
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy