@groovy.transform.CompileStatic class CreateAppCommand extends ArgumentCompletingCommand
Command for creating Grails applications
| Modifiers | Name | Description | 
|---|---|---|
| static class | CreateAppCommand.CreateAppCommandObject | 
| Modifiers | Name | Description | 
|---|---|---|
| protected static java.lang.String | APPLICATION_YML | |
| protected static java.lang.String | BUILD_GRADLE | |
| static java.lang.String | ENCODING | |
| static java.lang.String | FEATURES_FLAG | |
| static java.lang.String | INPLACE_FLAG | |
| static java.lang.String | NAME | |
| static java.lang.String | PROFILE_FLAG | 
| Type | Name and description | 
|---|---|
| java.lang.String | appname | 
| java.lang.String | defaultpackagename | 
| CommandDescription | description | 
| java.lang.String | groupname | 
| ProfileRepository | profileRepository | 
| java.io.File | targetDirectory | 
| java.util.Map<java.lang.String, java.lang.String> | variables | 
| Constructor and description | 
|---|
| CreateAppCommand
                                () | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | protected void | appendFeatureFiles(java.io.File skeletonDir) | 
|  | protected void | buildTargetFolders(Profile profile, java.util.Map<Profile, java.io.File> targetDir, java.io.File projectDir) | 
|  | protected int | complete(CommandLine commandLine, CommandDescription desc, java.util.List<java.lang.CharSequence> candidates, int cursor) | 
|  | protected void | copySrcToTarget(GrailsConsoleAntBuilder ant, java.io.File srcDir, java.util.List excludes, java.util.Set<java.lang.String> binaryFileExtensions) | 
|  | protected java.lang.String | createNewApplicationYml(java.lang.String previousYml, java.lang.String newYml) | 
|  | protected java.lang.Iterable<Feature> | evaluateFeatures(Profile profile, java.util.List<java.lang.String> requestedFeatures) | 
|  | protected java.lang.String | evaluateProfileName(CommandLine mainCommandLine) | 
|  | java.util.Set<java.io.File> | findAllFilesByName(java.io.File projectDir, java.lang.String fileName) | 
|  | protected java.lang.String | getDefaultProfile() | 
|  | protected java.io.File | getDestinationDirectory(java.io.File srcFile) | 
|  | java.lang.String | getName() | 
|  | boolean | handle(CreateAppCommand.CreateAppCommandObject cmd) | 
|  | boolean | handle(ExecutionContext executionContext) | 
|  | protected boolean | initializeGroupAndName(java.lang.String appName, boolean inplace) | 
|  | protected void | populateDescription() | 
|  | protected void | replaceBuildTokens(java.lang.String profileCoords, Profile profile, java.util.List<Feature> features, java.io.File targetDirectory) | 
|  | protected java.lang.String | resolveArtifactString(org.eclipse.aether.graph.Dependency dep) | 
|  | protected java.io.File | unzipProfile(groovy.util.AntBuilder ant, Resource location) | 
|  | protected boolean | validateProfile(Profile profileInstance, java.lang.String profileName) | 
| Methods inherited from class | Name | 
|---|---|
| class ArgumentCompletingCommand | complete, complete | 
| class java.lang.Object | java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |