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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
applyProfile(Resource profileApplicationStore, String profileName)
static void
applyProfile(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile)
static EList<org.modelversioning.emfprofile.Profile>
getApplicableProfiles()
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 Detail
-
applyProfile
public static void applyProfile(Resource profileApplicationStore, org.modelversioning.emfprofile.Profile profile)
-
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)
-
-