interface ProfileRepository
A repository of Profile instances
Modifiers | Name | Description |
---|---|---|
static String |
DEFAULT_PROFILE_NAME |
Type Params | Return Type | Name and description |
---|---|---|
|
abstract List<Profile> |
getAllProfiles()
|
|
abstract Profile |
getProfile(String profileName) Obtains a named Profile |
|
abstract Profile |
getProfile(String profileName, Boolean parentProfile) Obtains a named Profile |
|
abstract List<Profile> |
getProfileAndDependencies(Profile profile) Returns the given profile with all dependencies in topological order where given profile is last in the order. |
|
abstract Artifact |
getProfileArtifact(String profileName)
|
|
abstract Resource |
getProfileDirectory(String profile) The directory where the profile is located |
Obtains a named Profile
profileName
- The name of the profileObtains a named Profile
profileName
- The name of the profileparentProfile
- Whether or not the profile is a parent of another profileReturns the given profile with all dependencies in topological order where given profile is last in the order.
profile
- The Profile instance