A repository of Profile instances
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_PROFILE_NAME |
Constructor and description |
---|
ProfileRepository
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List |
getAllProfiles()
|
|
Profile |
getProfile(java.lang.String profileName) Obtains a named Profile
|
|
Profile |
getProfile(java.lang.String profileName, java.lang.Boolean parentProfile) Obtains a named Profile
|
|
java.util.List |
getProfileAndDependencies(Profile profile) Returns the given profile with all dependencies in topological order where given profile is last in the order. |
|
Artifact |
getProfileArtifact(java.lang.String profileName)
|
|
Resource |
getProfileDirectory(java.lang.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
The directory where the profile is located
profile
- The name of the profile