A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractJarProfileRepository - Class in org.grails.cli.profile.repository
A repository that loads profiles from JAR files
AbstractJarProfileRepository.JarProfile - Class in org.grails.cli.profile.repository
AbstractJarProfileRepository.JarProfile(ProfileRepository, Resource, ClassLoader) - Constructor in AbstractJarProfileRepository.JarProfile
AbstractProfile - Class in org.grails.cli.profile
Abstract implementation of the profile class
AbstractProfile(Resource, ClassLoader) - Constructor in AbstractProfile
AbstractStep - Class in org.grails.cli.profile
Abstract implementation of the Step interface
AbstractStep(ProfileCommand, Map<String, Object>) - Constructor in AbstractStep
addCancelledListener(CommandCancellationListener) - Method in ExecutionContext
Attaches a listener for cancellation events
addCancelledListener(CommandCancellationListener) - Method in GrailsCli.ExecutionContextImpl
addDependency(String, String, String) - Method in GrailsDependencyVersions
addDependencyManagement(GPathResult) - Method in GrailsDependencyVersions
after(String, Closure) - Method in CommandEvents
Register to listen for an event that runs before the given command
AllClassCompleter - Class in org.grails.cli.interactive.completers
A completer that completes all classes in the project
AllClassCompleter() - Constructor in AllClassCompleter
allProfiles - Field in AbstractJarProfileRepository
allTasks - Field in FetchAllTaskSelectorsBuildAction.AllTasksModel
allTaskSelectors - Field in FetchAllTaskSelectorsBuildAction.AllTasksModel
appendFeatureFiles(File) - Method in CreateAppCommand
APPLICATION_YML - Field in CreateAppCommand
ApplicationContextCommandFactory - Class in org.grails.cli.profile.commands.factory
Automatically populates ApplicationContext command instances and adapts the interface to the shell
applyDependencies(DependencyCustomizer) - Method in GrailsApplicationCompilerAutoConfiguration
applyDependencies(DependencyCustomizer) - Method in GrailsTestCompilerAutoConfiguration
applyImports(ImportCustomizer) - Method in GrailsApplicationCompilerAutoConfiguration
applyImports(ImportCustomizer) - Method in GrailsTestCompilerAutoConfiguration
applyToMainClass(GroovyClassLoader, GroovyCompilerConfiguration, GeneratorContext, SourceUnit, ClassNode) - Method in GrailsApplicationCompilerAutoConfiguration
argument(Map) - Method in CommandDescription
Adds an argument for the given named arguments
ArgumentCompletingCommand - Class in org.grails.cli.profile.commands
@author graemerocher
ArtefactVariableResolver - Class in org.grails.cli.profile.support
@author Graeme Rocher
ArtefactVariableResolver(String, String, String) - Constructor in ArtefactVariableResolver
artifactToGroupAndArtifact - Field in GrailsDependencyVersions

B

bang(ExecutionContext) - Method in GrailsCli
baseArguments - Field in GradleStep
before(String, Closure) - Method in CommandEvents
Register to listen for an event that runs before the given command
binaryExtensions - Field in AbstractProfile
BUILD_GRADLE - Field in CreateAppCommand
buildExcludes - Field in AbstractProfile
buildMerge - Field in AbstractProfile
buildPlugins - Field in AbstractProfile
buildRepositories - Field in AbstractProfile
buildTargetFolders(Profile, Map<Profile, File>, File) - Method in CreateAppCommand

C

CachedGradleOperation - Class in org.grails.cli.gradle.cache
Utility class for performing cached operations that retrieve data from Gradle.
CachedGradleOperation(ProjectContext, String) - Constructor in CachedGradleOperation
call() - Method in CachedGradleOperation
cancel() - Method in ExecutionContext
Allows cancelling of the running command
cancel() - Method in GrailsCli.ExecutionContextImpl
CLASS_NAME - Field in ExecuteStep
classLoader - Field in AbstractProfile
className(Resource) - Method in FileSystemInteraction
The class name of the given resource
className(Resource) - Method in FileSystemInteractionImpl
The class name of the given resource
ClassNameCompleter - Class in org.grails.cli.interactive.completers
A completer that completes class names
ClassNameCompleter(File) - Constructor in ClassNameCompleter
ClasspathBuildAction - Class in org.grails.cli.gradle
Gets the EclipseProject which helps obtain the classpath necessary
ClasspathCommandResourceResolver - Class in org.grails.cli.profile.commands.factory
A CommandResourceResolver that resolves commands from the classpath under the directory META-INF/commands
ClasspathCommandResourceResolver(Collection<String>) - Constructor in ClasspathCommandResourceResolver
ClosureCompleter - Class in org.grails.cli.interactive.completers
@author Graeme Rocher
ClosureCompleter(Closure<Collection<String>>) - Constructor in ClosureCompleter
ClosureExecutingCommand - Class in org.grails.cli.profile.commands
A command that executes a closure
ClosureExecutingCommand(String, Closure) - Constructor in ClosureExecutingCommand
Command - Interface in org.grails.cli.profile
An interface that represents a command to be executed by the Grails command line.
CommandArgument - Class in org.grails.cli.profile
Represents argument to a command
CommandCancellationListener - Interface in org.grails.cli.profile
A listener for listening for cancellation of Command executions
commandCancelled() - Method in CommandCancellationListener
Fired when a Command is cancelled
CommandCompleter - Class in org.grails.cli.profile.commands
A completer for commands
CommandCompleter(Collection<Command>) - Constructor in CommandCompleter
CommandDescription - Class in org.grails.cli.profile
Describes a Command
CommandEvents - Trait in org.grails.cli.profile.commands.events
Allows for listening and reacting to events triggered by other commands
CommandException - Class in org.grails.cli.profile
@author Graeme Rocher
CommandFactory - Interface in org.grails.cli.profile.commands.factory
Factory for the creation of Command instances
CommandRegistry - Class in org.grails.cli.profile.commands
Registry of available commands
CommandResourceResolver - Interface in org.grails.cli.profile.commands.factory
@since 3.0
commandsByName - Field in AbstractProfile
complete(CommandLine, CommandDescription, List<CharSequence>, int) - Method in ArgumentCompletingCommand
complete(String, int, List<CharSequence>) - Method in ClosureCompleter
complete(String, int, List<CharSequence>) - Method in CommandCompleter
complete(CommandLine, CommandDescription, List<CharSequence>, int) - Method in CreateAppCommand
complete(String, int, List) - Method in EscapingFileNameCompletor
complete(String, int, List<CharSequence>) - Method in GradleCommand
complete(String, int, List<CharSequence>) - Method in HelpCommand
complete(String, int, List<CharSequence>) - Method in OpenCommand
complete(String, int, List) - Method in RegexCompletor
complete(String, int, List) - Method in SimpleOrFileNameCompletor
complete(String, int, List<CharSequence>) - Method in SortedAggregateCompleter
Perform a completion operation across all aggregated completers.
complete(String, int, List<CharSequence>) - Method in StringsCompleter
completer(Completer) - Method in CommandDescription
Sets the completer
copy(Resource, File) - Method in FileSystemInteraction
Copy a Resource from the given location to the given directory or location
copy(Resource, File) - Method in FileSystemInteractionImpl
Copy a Resource from the given location to the given directory or location
copyAll(Iterable, def) - Method in FileSystemInteraction
Copies resources to the target destination
copyAll(Iterable, def) - Method in FileSystemInteractionImpl
Copies resources to the target destination
copySrcToTarget(GrailsConsoleAntBuilder, File, List, Set<String>) - Method in CreateAppCommand
create(GroovyClassLoader, List<GrailsRepositoryConfiguration>, DependencyResolutionContext) - Method in GrailsAetherGrapeEngineFactory
create(ProfileRepository, String, Resource) - Method in ResourceProfile
CreateAppCommand - Class in org.grails.cli.profile.commands
Command for creating Grails applications
CreateAppCommand.CreateAppCommandObject - Class in org.grails.cli.profile.commands
CreateAppCommand() - Constructor in CreateAppCommand
createCommand(Profile, String, Resource, GroovyScriptCommand) - Method in GroovyScriptCommandFactory
createCommand(Profile, String, Resource, T) - Method in ResourceResolvingCommandFactory
createCommand(Profile, String, Resource, Map) - Method in YamlCommandFactory
createExecutionContext(CommandLine) - Method in GrailsCli
createGrabAnnotation(String, String, String, String, String, boolean) - Method in GrailsApplicationCompilerAutoConfiguration
createGroovyScriptCommandClassLoader() - Method in GroovyScriptCommandFactory
createListEntry(String) - Method in ListReadingCachedGradleOperation
createListEntry(String) - Method in ReadGradleTasks
createMapValue(Object) - Method in MapReadingCachedGradleOperation
createMavenProfileRepository() - Method in GrailsCli
createNewApplicationYml(String, String) - Method in CreateAppCommand
CreatePluginCommand - Class in org.grails.cli.profile.commands
A command for creating a plugin
CreatePluginCommand() - Constructor in CreatePluginCommand
CreateProfileCommand - Class in org.grails.cli.profile.commands
Creates a profile
CreateProfileCommand() - Constructor in CreateProfileCommand
createStep(Map) - Method in DefaultMultiStepCommand
createStep(String, Command, Map) - Method in DefaultStepFactory
createStep(String, Command, Map) - Method in StepFactory
Creates a step for the given name, command and parameters
createVariables() - Method in ArtefactVariableResolver
currentProject - Field in FetchAllTaskSelectorsBuildAction.AllTasksModel

D

DEFAULT_IMPORTS - Field in GrailsApplicationCompilerAutoConfiguration
DEFAULT_IMPORTS - Field in GrailsTestCompilerAutoConfiguration
DEFAULT_PROFILE_GROUPID - Field in AbstractJarProfileRepository
DEFAULT_PROFILE_NAME - Field in GrailsCli
DEFAULT_REPO - Field in MavenProfileRepository
DefaultFeature - Class in org.grails.cli.profile
Default implementation of the Feature interface
DefaultFeature(Profile, String, Resource) - Constructor in DefaultFeature
defaultFeaturesNames - Field in AbstractProfile
DefaultMultiStepCommand - Class in org.grails.cli.profile.commands
Simple implementation of the MultiStepCommand abstract class that parses commands defined in YAML or JSON
DefaultMultiStepCommand(String, Profile, Map<String, Object>) - Constructor in DefaultMultiStepCommand
DefaultStepFactory - Class in org.grails.cli.profile.steps
Dynamic creation of Step instances
delete(def) - Method in FileSystemInteraction
Deletes a file
delete(def) - Method in FileSystemInteractionImpl
Deletes a file
dependencies - Field in AbstractProfile
dependencies - Field in GrailsDependencyVersions
description - Field in AbstractProfile
description(String, Closure) - Method in GroovyScriptCommand
Provides a description for the command
DomainClassCompleter - Class in org.grails.cli.interactive.completers
A completer for domain classes
DomainClassCompleter() - Constructor in DomainClassCompleter

E

ENABLE_AUTO_CONFIGURATION_CLASS_NODE - Field in GrailsApplicationCompilerAutoConfiguration
ENABLE_AUTO_CONFIGURATION - Field in GrailsApplicationCompilerAutoConfiguration
ENCODING - Field in CreateAppCommand
equals(Object) - Method in GrailsRepositoryConfiguration
equals(def) - Method in ResourceProfile
EscapingFileNameCompletor - Class in org.grails.cli.interactive.completers
JLine Completor that does file path matching like FileNameCompletor, but in addition it escapes whitespace in completions with the '\' character.
evaluateFeatures(Profile, List<String>) - Method in CreateAppCommand
evaluateFileName(String) - Method in GroovyScriptCommandFactory
evaluateFileName(String) - Method in ResourceResolvingCommandFactory
evaluateProfileName(CommandLine) - Method in CreateAppCommand
EventStorage - Class in org.grails.cli.profile.commands.events
Stores command line events
exclusionDependencySelector - Field in AbstractProfile
executablePatterns - Field in AbstractProfile
execute(BuildController) - Method in ClasspathBuildAction
execute(BuildController) - Method in FetchAllTaskSelectorsBuildAction
execute(String) - Method in GrailsCli
Execute the given command
executeCommandWithArgumentValidation(Command, CommandLine) - Method in GrailsCli
executeProcess(ExecutionContext, String) - Method in GrailsCli
ExecuteStep - Class in org.grails.cli.profile.steps
A Step that can execute another command
ExecuteStep(ProfileCommand, Map<String, Object>) - Constructor in ExecuteStep
ExecutionContext - Interface in org.grails.cli.profile
Context for the execution of Command instances within a Profile
exit(int) - Method in GrailsCli

F

Feature - Interface in org.grails.cli.profile
An interface that describes a feature of a profile.
features - Field in AbstractProfile
FEATURES_FLAG - Field in CreateAppCommand
FetchAllTaskSelectorsBuildAction - Class in org.grails.cli.gradle
A org.gradle.tooling.BuildAction that calculates all the tasks from the Gradle build
FetchAllTaskSelectorsBuildAction.AllTasksModel - Class in org.grails.cli.gradle
FetchAllTaskSelectorsBuildAction(File) - Constructor in FetchAllTaskSelectorsBuildAction
file(Object) - Method in FileSystemInteraction
Obtain a file for the given path
file(Object) - Method in FileSystemInteractionImpl
Obtain a file for the given path
fileName - Field in CachedGradleOperation
files(String) - Method in FileSystemInteraction
Get files matching the given pattern
files(String) - Method in FileSystemInteractionImpl
Get files matching the given pattern
FileSystemCommandResourceResolver - Class in org.grails.cli.profile.commands.factory
A CommandResourceResolver that resolves from the file system
FileSystemCommandResourceResolver(Collection<String>) - Constructor in FileSystemCommandResourceResolver
FileSystemInteraction - Interface in org.grails.cli.profile.commands.io
Utility methods exposed to scripts for interacting with resources (found on the file system or jars) and the file system
FileSystemInteraction.CopySpec - Class in org.grails.cli.profile.commands.io
FileSystemInteractionImpl - Class in org.grails.cli.profile.commands.io
Utility methods exposed to scripts for interacting with resources (found on the file system or jars) and the file system
FileSystemInteractionImpl(ExecutionContext, ResourceLoader) - Constructor in FileSystemInteractionImpl
FileSystemProfile - Class in org.grails.cli.profile
Simple disk based implementation of the Profile interface
FileSystemProfile(ProfileRepository, File) - Constructor in FileSystemProfile
fillArguments(ExecutionContext, BuildLauncher) - Method in GradleStep
find(String) - Method in GrailsDependencyVersions
findAllCommands() - Method in HelpCommand
findAllFilesByName(File, String) - Method in CreateAppCommand
findCommandResources(Profile) - Method in ClasspathCommandResourceResolver
findCommandResources(Profile) - Method in CommandResourceResolver
Finds Command resources for the given profile
findCommandResources(Profile) - Method in FileSystemCommandResourceResolver
findCommandResources(Profile, boolean) - Method in ResourceResolvingCommandFactory
findCommands(Profile, boolean) - Method in ApplicationContextCommandFactory
findCommands(Profile, boolean) - Method in CommandFactory
Creates a command for the given name
findCommands(Profile, boolean) - Method in CommandRegistry
findCommands(Profile, GrailsConsole) - Method in ProfileInfoCommand
findCommands(Profile, boolean) - Method in ResourceResolvingCommandFactory
findCommands(Profile, boolean) - Method in ServiceCommandFactory
fireEvent(Object, String, Object) - Method in EventStorage
flag(CommandLine, String) - Method in AbstractStep
Obtains details of the given flag if it has been set by the user
flag(Map) - Method in CommandDescription
Adds a flag for the given named arguments
flag(String) - Method in GroovyScriptCommand
Obtains details of the given flag if it has been set by the user
from(def) - Method in FileSystemInteraction.CopySpec

G

getAdditionalDependencies() - Method in GrailsApplicationCompilerAutoConfiguration
getAllProfiles() - Method in AbstractJarProfileRepository
getAllProfiles() - Method in MavenProfileRepository
getAllProfiles() - Method in ProfileRepository
@return All the available profiles in the repository
getArgs() - Method in GroovyScriptCommand
@return The arguments as a list of strings
getArgsMap() - Method in GroovyScriptCommand
@return The undeclared command line arguments
getArgument(String) - Method in CommandDescription
Returns an argument for the given name or null if it doesn't exist
getArguments() - Method in CommandDescription
Arguments to the command
getAsync() - Method in GradleInvoker
getBaseDir() - Method in GrailsCli.ExecutionContextImpl
getBaseDir() - Method in ProjectContext
@return The base directory of the project
getBinaryExtensions() - Method in AbstractProfile
getBinaryExtensions() - Method in Profile
@return The list of file extensions which should be treated as binary
getBuildDir() - Method in FileSystemInteraction
@return The target build directory
getBuildDir() - Method in FileSystemInteractionImpl
@return The target build directory
getBuildMergeProfileNames() - Method in AbstractProfile
getBuildMergeProfileNames() - Method in Profile
@return The profile names to participate in build merge
getBuildPlugins() - Method in AbstractProfile
getBuildPlugins() - Method in Feature
@return The build plugin names
getBuildPlugins() - Method in Profile
@return The list of build plugins for this profile
getBuildRepositories() - Method in AbstractProfile
getBuildRepositories() - Method in Profile
@return The buildscript maven repository definitions for this profile
getClassesDir() - Method in FileSystemInteraction
@return The directory where classes are compiled to
getClassesDir() - Method in FileSystemInteractionImpl
@return The directory where classes are compiled to
getCommand(ProjectContext, String) - Method in AbstractProfile
getCommand(String, ProfileRepository) - Method in CommandRegistry
Returns a command for the given name and repository
getCommand(ProjectContext, String) - Method in Profile
Obtain a command by name
getCommand() - Method in Step
@return The command that this step is part of
getCommandLine() - Method in ExecutionContext
@return The parsed command line arguments as an instance of org.grails.build.parsing.CommandLine
getCommandResolvers(boolean) - Method in ResourceResolvingCommandFactory
getCommands(ProjectContext) - Method in AbstractJarProfileRepository.JarProfile
getCommands(ProjectContext) - Method in AbstractProfile
getCommands(ProjectContext) - Method in Profile
The profile Command instances
getCommandsDirectory(Profile) - Method in FileSystemCommandResourceResolver
getCompleter() - Method in ClosureCompleter
getCompleters(ProjectContext) - Method in AbstractProfile
getCompleters(ProjectContext) - Method in Profile
The profile completers
getCompleters() - Method in SortedAggregateCompleter
Retrieve the collection of completers currently being aggregated.
getConfig() - Method in ProjectContext
@return The codegen config
getConfiguration() - Method in AbstractProfile
getConfiguration() - Method in Feature
@return The configuration for the feature
getConfiguration() - Method in Profile
@return The profiles configuration
getConsole() - Method in ProjectContext
@return The grails.build.logging.GrailsConsole instance
getDefaultConstructor(ClassNode) - Method in GroovyScriptCommandTransform
getDefaultEngine() - Method in GrailsDependencyVersions
getDefaultFeatures() - Method in AbstractProfile
getDefaultFeatures() - Method in Profile
@return The default features for this profile
getDefaultProfile() - Method in CreateAppCommand
getDefaultProfile() - Method in CreatePluginCommand
getDefaultProfile() - Method in CreateProfileCommand
getDependencies() - Method in AbstractProfile
getDependencies() - Method in Feature
@return The dependency definitions for this feature
getDependencies() - Method in GrailsDependencyVersions
getDependencies() - Method in Profile
@return The dependency definitions for this profile
getDescription() - Method in AbstractProfile
getDescription() - Method in ClosureExecutingCommand
getDescription() - Method in Command
@return The description of the command
getDescription() - Method in DefaultFeature
getDescription() - Method in Feature
@return The description of the profile
getDescription() - Method in GradleTaskCommandAdapter
getDescription() - Method in Profile
@return The description of the profile
getDestinationDirectory(File) - Method in CreateAppCommand
getExecutablePatterns() - Method in AbstractProfile
getExecutablePatterns() - Method in Profile
@return The list of file patterns which should be executable in the resulting application
getExecutionContext() - Method in GroovyScriptCommand
getExtends() - Method in AbstractProfile
getExtends() - Method in Profile
The other Profile instances that this Profile extends
getFeatures() - Method in AbstractProfile
getFeatures() - Method in Profile
@return The features for this profile
getFlag(String) - Method in CommandDescription
Returns a flag for the given name or null if it doesn't exist
getFlags() - Method in CommandDescription
Flags to the command.
getGrailsConsole() - Method in GroovyScriptCommand
@return The grails.build.logging.GrailsConsole instance
getGrailsEnv() - Method in GroovyScriptCommand
@return The name of the current Grails environment
getInstructions() - Method in AbstractProfile
getInstructions() - Method in Profile
@return Text to display after an application has been created with the profile
getLocation() - Method in Feature
@return The location of the feature
getMatchingFileExtensions() - Method in CommandResourceResolver
The pattern to match file names with
getMatchingFileExtensions() - Method in ResourceResolvingCommandFactory
getName() - Method in AbstractJarProfileRepository.JarProfile
getName() - Method in CreateAppCommand
getName() - Method in CreatePluginCommand
getName() - Method in CreateProfileCommand
getName() - Method in ExecuteStep
getName() - Method in Feature
@return The name of the feature
getName() - Method in GradleStep
getName() - Method in GradleTaskCommandAdapter
getName() - Method in HelpCommand
getName() - Method in MkdirStep
getName() - Method in OpenCommand
getName() - Method in Profile
@return The name of the profile
getName() - Method in RenderStep
getName() - Method in ResourceProfile
getName() - Method in Step
@return The name of the step
getParameters() - Method in Step
@return The parameters to the step
getParentSkeletonDir(File) - Method in AbstractProfile
getParentSkeletonDir(File) - Method in Profile
@return The directory the parent profile(s) skeleton should be copied into
getProfile(String, Boolean) - Method in AbstractJarProfileRepository
getProfile() - Method in Feature
@return The profile this feature belongs to
getProfile(String) - Method in MavenProfileRepository
getProfile() - Method in ProfileCommand
@return The profile of the command
getProfile(String, Boolean) - Method in ProfileRepository
Obtains a named Profile
getProfile(String) - Method in StaticJarProfileRepository
getProfileAndDependencies(Profile) - Method in AbstractJarProfileRepository
getProfileAndDependencies(Profile) - Method in ProfileRepository
Returns the given profile with all dependencies in topological order where given profile is last in the order.
getProfileArtifact(String) - Method in AbstractJarProfileRepository
getProfileArtifact(String) - Method in ProfileRepository
@return The org.eclipse.aether.artifact.Artifact that resolves to the profile
getProfileDir() - Method in AbstractProfile
getProfileDir() - Method in Profile
@return The directory where the profile is located locally
getProfileDirectory(String) - Method in AbstractJarProfileRepository
getProfileDirectory(String) - Method in ProfileRepository
The directory where the profile is located
getProfileRepository() - Method in AbstractProfile
getRepositories() - Method in AbstractProfile
getRepositories() - Method in Profile
@return The maven repository definitions for this profile
getRequiredFeatures() - Method in AbstractProfile
getRequiredFeatures() - Method in Profile
@return The required features for this profile
getResources(String) - Method in SpringInvoker.Slf4jBindingAwareClassLoader
getResourcesDir() - Method in FileSystemInteraction
@return The directory where resources are processed to
getResourcesDir() - Method in FileSystemInteractionImpl
@return The directory where resources are processed to
getSetting(String, Class<T>, T) - Method in GrailsCli
Obtains a value from USER_HOME/.grails/settings.yml
getSkeletonExcludes() - Method in AbstractProfile
getSkeletonExcludes() - Method in Profile
Returns:
A list of paths to exclude from the skeleton.
getSpringBootVersion() - Method in GrailsDependencyVersions
getStep(String, Command, Map) - Method in StepRegistry
Looks up a Step
getSteps() - Method in DefaultMultiStepCommand
getSteps() - Method in MultiStepCommand
@return The steps that make up the command
getStrings() - Method in StringsCompleter
getTemplate(String) - Method in AbstractProfile
getTemplate(String) - Method in Profile
Obtain a template by path
getVersion() - Method in AbstractProfile
getVersion() - Method in Profile
@return The version of the profile
getVersionProperties() - Method in GrailsDependencyVersions
GRADLE_ARGUMENT_ADAPTER - Field in GradleStep
GRADLE - Field in GradleCommand
GradleAsyncInvoker - Class in org.grails.cli.gradle
@author Graeme Rocher
GradleAsyncInvoker(GradleInvoker) - Constructor in GradleAsyncInvoker
GradleCommand - Class in org.grails.cli.gradle.commands
A command for invoking Gradle commands
GradleInvoker - Class in org.grails.cli.gradle
Allow dynamic invocation of Gradle tasks
GradleInvoker(ExecutionContext) - Constructor in GradleInvoker
GradleStep - Class in org.grails.cli.profile.steps
A Step that invokes Gradle
GradleStep(ProfileCommand, Map<String, Object>) - Constructor in GradleStep
GradleTaskCommandAdapter - Class in org.grails.cli.gradle.commands
Adapts a grails.util.Named command into a Gradle task execution
GradleTaskCommandAdapter(Profile, Named) - Constructor in GradleTaskCommandAdapter
GradleUtil - Class in org.grails.cli.gradle
Utility methods for interacting with Gradle
GrailsAetherGrapeEngineFactory - Class in org.grails.cli.profile.repository
Creates aether engine to resolve profiles.
GrailsApplicationCompilerAutoConfiguration - Class in org.grails.cli.boot
A org.springframework.boot.cli.compiler.CompilerAutoConfiguration for Grails Micro Service applications
GrailsCli - Class in org.grails.cli
Main class for the Grails command line.
GrailsCli.ExecutionContextImpl - Class in org.grails.cli
GrailsCli.ExecutionContextImpl(CommandLine, ProjectContext) - Constructor in GrailsCli.ExecutionContextImpl
GrailsDependencyVersions - Class in org.grails.cli.boot
Introduces dependency management based on a published BOM file
GrailsDependencyVersions(GrapeEngine, Map<String, String>) - Constructor in GrailsDependencyVersions
GrailsRepositoryConfiguration - Class in org.grails.cli.profile.repository
The configuration of a repository.
GrailsRepositoryConfiguration(String, URI, boolean, String, String) - Constructor in GrailsRepositoryConfiguration
Creates a new GrailsRepositoryConfiguration instance.
GrailsTestCompilerAutoConfiguration - Class in org.grails.cli.boot
@author Graeme Rocher
GroovyScriptCommand - Class in org.grails.cli.profile.commands.script
A base class for Groovy scripts that implement commands
GroovyScriptCommandFactory - Class in org.grails.cli.profile.commands.factory
A CommandFactory that creates Command instances from Groovy scripts
GroovyScriptCommandTransform - Class in org.grails.cli.profile.commands.script
Transformation applied to command scripts
GroovyScriptCommandTransform.CommandScriptTransformer - Class in org.grails.cli.profile.commands.script
GroovyScriptCommandTransform.CommandScriptTransformer(SourceUnit, ClassNode) - Constructor in GroovyScriptCommandTransform.CommandScriptTransformer
groupAndArtifactToDependency - Field in GrailsDependencyVersions

H

handle(ExecutionContext) - Method in ClosureExecutingCommand
handle(ExecutionContext) - Method in Command
run the command
handle(ExecutionContext) - Method in CreateAppCommand
handle(ExecutionContext) - Method in ExecuteStep
handle(ExecutionContext) - Method in GradleCommand
handle(ExecutionContext) - Method in GradleStep
handle(ExecutionContext) - Method in GradleTaskCommandAdapter
handle(ExecutionContext) - Method in GroovyScriptCommand
Implementation of the handle method that runs the script
handle(ExecutionContext) - Method in HelpCommand
handle(ExecutionContext) - Method in ListProfilesCommand
handle(ExecutionContext) - Method in MkdirStep
handle(ExecutionContext) - Method in MultiStepCommand
handle(ExecutionContext) - Method in OpenCommand
handle(ExecutionContext) - Method in ProfileInfoCommand
handle(ExecutionContext) - Method in RenderStep
handle(ExecutionContext) - Method in Step
Handles the command logic
handleArgumentOrFlag(Map, String) - Method in DefaultMultiStepCommand
handleCommand(ExecutionContext) - Method in AbstractProfile
handleCommand(ExecutionContext) - Method in GrailsCli
handleCommand(ExecutionContext) - Method in Profile
Obtains a Command
hasCommand(ProjectContext, String) - Method in AbstractProfile
hasCommand(ProjectContext, String) - Method in Profile
Whether a command executes for the given context and name
hasCredentials() - Method in GrailsRepositoryConfiguration
hashCode() - Method in GrailsRepositoryConfiguration
hashCode() - Method in ResourceProfile
HelpCommand - Class in org.grails.cli.profile.commands
@author Graeme Rocher

I

initialize() - Method in AbstractProfile
initialize() - Method in GradleStep
initializeApplication(CommandLine) - Method in GrailsCli
initializeGroupAndName(String, boolean) - Method in CreateAppCommand
INPLACE_FLAG - Field in CreateAppCommand
instructions - Field in AbstractProfile
internalCommands - Field in AbstractProfile
into(def) - Method in FileSystemInteraction.CopySpec
invokeMethod(String, Object) - Method in GradleAsyncInvoker
invokeMethod(String, Object) - Method in GradleInvoker
invokeMethod(String, Object) - Method in SpringInvoker
isInteractiveModeActive() - Method in GrailsCli
isServerAvailable(String, int) - Method in ServerInteraction
Returns true if the server is available
isValidResource(Resource) - Method in ClassNameCompleter
isValidResource(Resource) - Method in DomainClassCompleter
isValidResource(Resource) - Method in TestsCompleter
iterator() - Method in GrailsDependencyVersions

J

jsonSlurper - Field in YamlCommandFactory

K

L

ListProfilesCommand - Class in org.grails.cli.profile.commands
Lists the available Profile instances 
ListReadingCachedGradleOperation - Class in org.grails.cli.gradle.cache
A CachedGradleOperation that reads and writes a list of values

M

main(String) - Method in GrailsCli
Main method for running via the command line
MapReadingCachedGradleOperation - Class in org.grails.cli.gradle.cache
Cached Gradle operation that reads a Map
matches(ClassNode) - Method in GrailsApplicationCompilerAutoConfiguration
matches(ClassNode) - Method in GrailsTestCompilerAutoConfiguration
MavenProfileRepository - Class in org.grails.cli.profile.repository
Resolves profiles from a configured list of repositories using Aether
MavenProfileRepository() - Constructor in MavenProfileRepository
methodMissing(String, def) - Method in GroovyScriptCommand
Method missing handler used to invoke other commands from a command script
mkdir(def) - Method in FileSystemInteraction
Makes a directory
mkdir(def) - Method in FileSystemInteractionImpl
Makes a directory
MkdirStep - Class in org.grails.cli.profile.steps
A step that makes a directory
MkdirStep(ProfileCommand, Map<String, Object>) - Constructor in MkdirStep
MultiStepCommand - Class in org.grails.cli.profile
A command that executes multiple steps
MultiStepCommand(String, Profile) - Constructor in MultiStepCommand

N

name - Field in AbstractProfile
NAME - Field in CreateAppCommand
NAME - Field in CreatePluginCommand
NAME - Field in CreateProfileCommand
NAME - Field in ExecuteStep
NAME - Field in HelpCommand
NAME - Field in MkdirStep
NAME - Field in OpenCommand
NAME - Field in ProfileInfoCommand
NAME - Field in RenderStep
navigableConfig - Field in AbstractProfile
navigateConfig(String) - Method in ProjectContext
Obtains a value from the codegen configuration
navigateConfigForType(Class<T>, String) - Method in ProjectContext
Obtains a value of the given type from the codegen configuration
notify(String, Object) - Method in CommandEvents
Notify of an event

O

on(String, Closure) - Method in CommandEvents
Register to listen for an event
OpenCommand - Class in org.grails.cli.profile.commands
@author graemerocher
openGradleConnection(File) - Method in GradleUtil
outputMissingArgumentsMessage(Command) - Method in GrailsCli

P

parentNames - Field in AbstractProfile
parentProfiles - Field in AbstractProfile
parentTargetFolder - Field in AbstractProfile
parseCurrentVersion(File) - Method in MavenProfileRepository
passArguments - Field in GradleStep
POOL - Field in GradleAsyncInvoker
populateContextLoader() - Method in GrailsCli
populateDescription() - Method in CreateAppCommand
populateDescription() - Method in CreatePluginCommand
populateDescription() - Method in CreateProfileCommand
processUrls() - Method in MavenProfileRepository
Profile - Interface in org.grails.cli.profile
A Profile defines an active code generation and command execution policy.
PROFILE_FLAG - Field in CreateAppCommand
ProfileCommand - Interface in org.grails.cli.profile
A Command applicable only to a certain Profile
profileDir - Field in AbstractProfile
ProfileInfoCommand - Class in org.grails.cli.profile.commands
A command to find out information about the given profile
ProfileInfoCommand() - Constructor in ProfileInfoCommand
ProfileRepository - Interface in org.grails.cli.profile
A repository of Profile instances
profileRepository - Field in AbstractProfile
ProfileRepositoryAware - Interface in org.grails.cli.profile
For commands and steps that need to be made aware of the ProfileRepository to implement
profilesByName - Field in AbstractJarProfileRepository
ProjectCommand - Interface in org.grails.cli.profile
A marker interface for commands that are global, but apply only within the context of a project
ProjectContext - Interface in org.grails.cli.profile
The project context used by a Profile
projectContext - Field in CachedGradleOperation
ProjectContextAware - Interface in org.grails.cli.profile
Interface for components that want to be made aware of the proxy context
projectPath(Object) - Method in FileSystemInteraction
Obtain the path of the resource relative to the current project
projectPath(Object) - Method in FileSystemInteractionImpl
Obtain the path of the resource relative to the current project
projectPaths - Field in FetchAllTaskSelectorsBuildAction.AllTasksModel

Q

R

readCommandFile(Resource) - Method in GroovyScriptCommandFactory
readCommandFile(Resource) - Method in ResourceResolvingCommandFactory
readCommandFile(Resource) - Method in YamlCommandFactory
readFromCached(File) - Method in CachedGradleOperation
readFromCached(File) - Method in ListReadingCachedGradleOperation
readFromCached(File) - Method in MapReadingCachedGradleOperation
readFromGradle(ProjectConnection) - Method in CachedGradleOperation
readFromGradle(ProjectConnection) - Method in ReadGradleTasks
ReadGradleTasks - Class in org.grails.cli.gradle.commands
@author Graeme Rocher
ReadGradleTasks(ProjectContext) - Constructor in ReadGradleTasks
refreshAll() - Method in ClassNameCompleter
RegexCompletor - Class in org.grails.cli.interactive.completers
JLine Completor that accepts a string if it matches a given regular expression pattern.
RegexCompletor(Pattern) - Constructor in RegexCompletor
registerEvent(String, Closure) - Method in EventStorage
registerParentCommands(ProjectContext, Iterable<Profile>, Closure) - Method in AbstractProfile
registerProfile(URL, ClassLoader) - Method in AbstractJarProfileRepository
relativePath(File, File) - Method in RenderStep
render(Map<String, String>) - Method in SimpleTemplate
render(Resource, File, Map, boolean) - Method in TemplateRenderer
Render the given template to the given destination
render(Resource, File, Map, boolean) - Method in TemplateRendererImpl
Render the given template to the given destination
RenderStep - Class in org.grails.cli.profile.steps
A Step that renders a template
renderToDestination(File, Map) - Method in RenderStep
replaceBuildTokens(String, Profile, List<Feature>, File) - Method in CreateAppCommand
repositories - Field in AbstractProfile
requiredFeatureNames - Field in AbstractProfile
resolveArtifactString(Dependency) - Method in CreateAppCommand
resolveFile(String, ExecutionContext) - Method in ArtefactVariableResolver
resolveNameAndPackage(ExecutionContext, String) - Method in RenderStep
resolveProfile(String) - Method in MavenProfileRepository
resource(Object) - Method in FileSystemInteraction
Obtain a resource for the given path
resource(Object) - Method in FileSystemInteractionImpl
Obtain a resource for the given path
ResourceProfile - Class in org.grails.cli.profile
A profile that operates against abstract org.grails.io.support.Resource references
ResourceProfile(ProfileRepository, String, Resource) - Constructor in ResourceProfile
ResourceResolvingCommandFactory - Class in org.grails.cli.profile.commands.factory
A abstract CommandFactory that reads from the file system
resources(String) - Method in FileSystemInteraction
Obtain resources for the given pattern
resources(String) - Method in FileSystemInteractionImpl
Obtain resources for the given pattern
runBuildActionWithConsoleOutput(ProjectConnection, ProjectContext, BuildAction<T>, Closure<?>) - Method in GradleUtil
runBuildWithConsoleOutput(ExecutionContext, Closure<?>) - Method in GradleUtil

S

searchTemplateDepthFirst(Profile, String) - Method in RenderStep
ServerInteraction - Trait in org.grails.cli.profile.commands.io
Methods to aid interacting with the server from the CLI
ServiceCommandFactory - Class in org.grails.cli.profile.commands.factory
Uses the service registry pattern to locate commands
setExecutionContext(ExecutionContext) - Method in GroovyScriptCommand
setProfile(Profile) - Method in ProfileCommand
Sets the command profile
setProfileRepository(ProfileRepository) - Method in AbstractProfile
setProfileRepository(ProfileRepository) - Method in ProfileInfoCommand
setProfileRepository(ProfileRepository) - Method in ProfileRepositoryAware
setProjectContext(ProjectContext) - Method in GradleCommand
setProjectContext(ProjectContext) - Method in ProjectContextAware
setStrings(SortedSet<String>) - Method in StringsCompleter
setupCompleters() - Method in GrailsCli
setupConsoleOutput(ProjectContext, LongRunningOperation) - Method in GradleUtil
SimpleOrFileNameCompletor - Class in org.grails.cli.interactive.completers
JLine Completor that mixes a fixed set of options with file path matches.
SimpleOrFileNameCompletor(String) - Constructor in SimpleOrFileNameCompletor
SimpleTemplate - Class in org.grails.cli.profile.commands.templates
skeletonExcludes - Field in AbstractProfile
SortedAggregateCompleter - Class in org.grails.cli.interactive.completers
Copied from jline AggregateCompleter
SortedAggregateCompleter(Completer) - Constructor in SortedAggregateCompleter
Construct an AggregateCompleter with the given completers.
source(String) - Method in FileSystemInteraction
Finds a source file for the given class name
source(String) - Method in FileSystemInteractionImpl
Finds a source file for the given class name
SpringInvoker - Class in org.grails.cli.boot
Allows invocation of Spring commands from command scripts
SpringInvoker.Slf4jBindingAwareClassLoader - Class in org.grails.cli.boot
startInteractiveMode(GrailsConsole) - Method in GrailsCli
StaticJarProfileRepository - Class in org.grails.cli.profile.repository
A JAR file repository that resolves profiles from a static array of JAR file URLs
StaticJarProfileRepository(ClassLoader, URL) - Constructor in StaticJarProfileRepository
Step - Interface in org.grails.cli.profile
Represents a step within a Command.
StepFactory - Interface in org.grails.cli.profile.steps
Creates steps
StepRegistry - Class in org.grails.cli.profile.steps
Registry of steps
storeData(T) - Method in CachedGradleOperation
StringsCompleter - Class in org.grails.cli.interactive.completers
A completer that completes based on a collection of Strings
StringsCompleter(String) - Constructor in StringsCompleter
synonyms(String) - Method in CommandDescription
Adds a synonyms for this command

T

tasks - Field in GradleStep
template(Object) - Method in TemplateRenderer
Find a template at the given location
template(Object) - Method in TemplateRendererImpl
Find a template at the given location
TemplateException - Class in org.grails.cli.profile.commands.templates
Exception thrown when an error in template rendering occurs
TemplateRenderer - Interface in org.grails.cli.profile.commands.templates
API for locating and rendering templates in the code generation layer
TemplateRendererImpl - Class in org.grails.cli.profile.commands.templates
Interface for classes that can render templates
TemplateRendererImpl(ExecutionContext, Profile, ProfileRepository, ResourceLoader) - Constructor in TemplateRendererImpl
TEMPLATES_DIR - Field in RenderStep
templates(String) - Method in TemplateRenderer
Find templates matching the given pattern
templates(String) - Method in TemplateRendererImpl
Find templates matching the given pattern
TestsCompleter - Class in org.grails.cli.interactive.completers
A completer that completes the names of the tests in the project
TestsCompleter() - Constructor in TestsCompleter
tiggerAppLoad() - Method in GrailsCli
toString() - Method in GrailsRepositoryConfiguration
toString() - Method in SortedAggregateCompleter
@return a string representing the aggregated completers

U

UNZIP_PROFILE_TEMP_DIR - Field in CreateAppCommand
unzipProfile(AntBuilder, Resource) - Method in CreateAppCommand
updateStatusMessage() - Method in CachedGradleOperation

V

validateProfile(Profile, String) - Method in CreateAppCommand
validateProfile(Profile, String, ExecutionContext) - Method in CreatePluginCommand
version - Field in AbstractProfile
versionProperties - Field in GrailsDependencyVersions
visit(ASTNode, SourceUnit) - Method in GroovyScriptCommandTransform
visitMethodCallExpression(MethodCallExpression) - Method in GroovyScriptCommandTransform.CommandScriptTransformer

W

waitForStartup(String, int) - Method in ServerInteraction
Waits for the server to startup
wireCancellationSupport(ExecutionContext, BuildLauncher) - Method in GradleUtil
withProjectConnection(File, boolean, Closure<T>) - Method in GradleUtil
writeToCache(PrintWriter, T) - Method in CachedGradleOperation
writeToCache(PrintWriter, List<T>) - Method in ListReadingCachedGradleOperation
writeToCache(PrintWriter, Map<String, V>) - Method in MapReadingCachedGradleOperation

X

Y

YamlCommandFactory - Class in org.grails.cli.profile.commands.factory
A CommandFactory that can discover commands defined in YAML or JSON
yamlParser - Field in YamlCommandFactory

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _