Class ProfileAPI

java.lang.Object
org.palladiosimulator.mdsdprofiles.api.ProfileAPI

public final class ProfileAPI extends Object
API to apply, update, query, and unapply profiles in a resource.
  • Method Details

    • applyProfile

      public static void applyProfile(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile)
    • applyProfile

      public static void applyProfile(Resource profileApplicationStore, String profileName)
    • updateProfileApplications

      public static boolean updateProfileApplications(Resource profileApplicationStore, EList<org.modelversioning.emfprofile.Profile> profilesToBeApplied)
    • isProfileApplied

      public static boolean isProfileApplied(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile)
    • isProfileApplied

      public static boolean isProfileApplied(Resource profileApplicationStore, String profileName)
    • hasProfileApplication

      public static boolean hasProfileApplication(Resource profileApplicationStore)
    • getProfileApplication

      public static org.modelversioning.emfprofileapplication.ProfileApplication getProfileApplication(Resource profileApplicationStore)
    • getApplicableProfiles

      public static EList<org.modelversioning.emfprofile.Profile> getApplicableProfiles()
    • getAppliedProfiles

      public static EList<org.modelversioning.emfprofile.Profile> getAppliedProfiles(Resource profileApplicationStore)
    • unapplyProfile

      public static void unapplyProfile(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile)