A repository of Profile instances
| Type | Name and description |
|---|---|
java.lang.String |
DEFAULT_PROFILE_NAME |
| Type | Name and description |
|---|---|
java.util.List<Profile> |
getAllProfiles()@return All the available profiles in the repository |
Profile |
getProfile(java.lang.String profileName)Obtains a named Profile |
java.util.List<Profile> |
getProfileAndDependencies(Profile profile)Returns the given profile with all dependencies in topological order where given profile is last in the order. |
org.eclipse.aether.artifact.Artifact |
getProfileArtifact(java.lang.String profileName)@return The org.eclipse.aether.artifact.Artifact that resolves to the profile |
org.grails.io.support.Resource |
getProfileDirectory(java.lang.String profile)The directory where the profile is located |
Obtains a named Profile
profileName - The name of the 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