public class GrailsWrapperHome extends java.lang.Object
Helper class for managing the `grails-cli` jar files in the Grails Wrapper home directory.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
CLI_COMBINED_PROJECT_NAME |
|
java.util.List<GrailsReleaseType> |
allowedReleaseTypes |
|
java.io.File |
home |
|
GrailsVersion |
latestVersion |
|
java.util.List<GrailsVersion> |
versions |
|
java.io.File |
wrapperDirectory |
Constructor and description |
---|
GrailsWrapperHome(java.util.List<GrailsReleaseType> allowedReleaseTypes, java.lang.String forcedGrailsHome) |
Type Params | Return Type | Name and description |
---|---|---|
|
public static java.io.File |
findGrailsHome(java.lang.String grailsHomeOverride) Locate the “Grails" home by: 1. using the specified home 2. using the environment variable 3. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Locate the “Grails" home by: 1. using the specified home 2. using the environment variable 3. Looking in the current directory for a GRAILS_MARKERS or for a .grails directory and all parent directories. If none, is found, the current directory will be returned. There is a special case for the current directory if inside of the grails core repository.