Class ProfileAPI
java.lang.Object
org.palladiosimulator.mdsdprofiles.api.ProfileAPI
API to apply, update, query, and unapply profiles in a resource.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyProfile
(Resource profileApplicationStore, String profileName) static void
applyProfile
(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile) static EList<org.modelversioning.emfprofile.Profile>
static EList<org.modelversioning.emfprofile.Profile>
getAppliedProfiles
(Resource profileApplicationStore) static org.modelversioning.emfprofileapplication.ProfileApplication
getProfileApplication
(Resource profileApplicationStore) static boolean
hasProfileApplication
(Resource profileApplicationStore) static boolean
isProfileApplied
(Resource profileApplicationStore, String profileName) static boolean
isProfileApplied
(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile) static void
unapplyProfile
(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile) static boolean
updateProfileApplications
(Resource profileApplicationStore, EList<org.modelversioning.emfprofile.Profile> profilesToBeApplied)
-
Method Details
-
applyProfile
public static void applyProfile(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile) -
applyProfile
-
updateProfileApplications
-
isProfileApplied
public static boolean isProfileApplied(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile) -
isProfileApplied
-
hasProfileApplication
-
getProfileApplication
public static org.modelversioning.emfprofileapplication.ProfileApplication getProfileApplication(Resource profileApplicationStore) -
getApplicableProfiles
-
getAppliedProfiles
-
unapplyProfile
public static void unapplyProfile(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile)
-