Class ProfilesRoot

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProfilesRoot
    extends java.lang.Object
    implements java.io.Serializable
    Root element of the profiles.xml file.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ProfilesRoot()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addActiveProfile​(java.lang.String string)
      Method addActiveProfile.
      void addProfile​(Profile profile)
      Method addProfile.
      java.util.List<java.lang.String> getActiveProfiles()
      Method getActiveProfiles.
      java.lang.String getModelEncoding()
      Get the modelEncoding field.
      java.util.List<Profile> getProfiles()
      Method getProfiles.
      void removeActiveProfile​(java.lang.String string)
      Method removeActiveProfile.
      void removeProfile​(Profile profile)
      Method removeProfile.
      void setActiveProfiles​(java.util.List<java.lang.String> activeProfiles)
      Set list of manually-activated build profiles, specified in the order in which they should be applied.
      void setModelEncoding​(java.lang.String modelEncoding)
      Set the modelEncoding field.
      void setProfiles​(java.util.List<Profile> profiles)
      Set configuration of build profiles for adjusting the build according to environmental parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProfilesRoot

        public ProfilesRoot()
    • Method Detail

      • addActiveProfile

        public void addActiveProfile​(java.lang.String string)
        Method addActiveProfile.
        Parameters:
        string - a string object.
      • addProfile

        public void addProfile​(Profile profile)
        Method addProfile.
        Parameters:
        profile - a profile object.
      • getActiveProfiles

        public java.util.List<java.lang.String> getActiveProfiles()
        Method getActiveProfiles.
        Returns:
        List
      • getModelEncoding

        public java.lang.String getModelEncoding()
        Get the modelEncoding field.
        Returns:
        String
      • getProfiles

        public java.util.List<Profile> getProfiles()
        Method getProfiles.
        Returns:
        List
      • removeActiveProfile

        public void removeActiveProfile​(java.lang.String string)
        Method removeActiveProfile.
        Parameters:
        string - a string object.
      • removeProfile

        public void removeProfile​(Profile profile)
        Method removeProfile.
        Parameters:
        profile - a profile object.
      • setActiveProfiles

        public void setActiveProfiles​(java.util.List<java.lang.String> activeProfiles)
        Set list of manually-activated build profiles, specified in the order in which they should be applied.
        Parameters:
        activeProfiles - a activeProfiles object.
      • setModelEncoding

        public void setModelEncoding​(java.lang.String modelEncoding)
        Set the modelEncoding field.
        Parameters:
        modelEncoding - a modelEncoding object.
      • setProfiles

        public void setProfiles​(java.util.List<Profile> profiles)
        Set configuration of build profiles for adjusting the build according to environmental parameters.
        Parameters:
        profiles - a profiles object.