A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractFileResolvingResource - Class in org.grails.io.support
-
Abstract base class for resources which resolve URLs into File references, such as
org.springframework.core.io.UrlResourceororg.springframework.core.io.ClassPathResource. - AbstractFileResolvingResource() - Constructor for class org.grails.io.support.AbstractFileResolvingResource
- addAll(Object[], Object[]) - Static method in class org.grails.io.support.SpringIOUtils
-
Adds the contents of 1 array to another
- addAlteredMetaClass(Class, MetaClass) - Static method in class grails.build.support.MetaClassRegistryCleaner
- addDeclaredOption(String, Option) - Method in class org.grails.build.parsing.DefaultCommandLine
- addDeclaredOption(String, Option, Object) - Method in class org.grails.build.parsing.DefaultCommandLine
- addGrailsConsoleBuildListener(Project) - Static method in class org.grails.build.logging.GrailsConsoleAntBuilder
- addInternalPackage(String) - Method in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- addInternalPackage(String) - Method in interface org.grails.exceptions.reporting.StackTraceFilterer
-
Adds a package name that should be filtered
- addListener(DirectoryWatcher.FileChangeListener) - Method in class org.grails.io.watch.DirectoryWatcher
-
Adds a file listener that can react to change events
- addOption(String, String) - Method in class org.grails.build.parsing.CommandLineParser
-
Adds a declared option
- addRemainingArg(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- addShutdownHook() - Method in class grails.build.logging.GrailsConsole
- addStatus(String) - Method in interface grails.build.logging.ConsoleLogger
-
Adds a new message that won't be overwritten by {#updateStatus(String)}
- addStatus(String) - Method in class grails.build.logging.GrailsConsole
-
Keeps doesn't replace the status message
- addSystemProperty(String, String) - Method in class org.grails.build.parsing.DefaultCommandLine
- addUndeclaredOption(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- addUndeclaredOption(String, Object) - Method in class org.grails.build.parsing.DefaultCommandLine
- addWatchDirectory(File) - Method in class org.grails.io.watch.DirectoryWatcher
-
Adds a directory to watch for the given file.
- addWatchDirectory(File, String) - Method in class org.grails.io.watch.DirectoryWatcher
-
Adds a directory to watch for the given file and extensions.
- addWatchDirectory(File, List<String>) - Method in class org.grails.io.watch.DirectoryWatcher
-
Adds a directory to watch for the given file and extensions.
- addWatchFile(File) - Method in class org.grails.io.watch.DirectoryWatcher
-
Adds a file to the watch list
- AGENT_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- ansiWrap(OutputStream) - Method in class grails.build.logging.GrailsConsole
-
Hook method that allows controlling whether or not output streams should be wrapped by AnsiConsole.wrapOutputStream.
- ansiWrap(OutputStream) - Method in class grails.build.logging.GrailsEclipseConsole
- AntPathMatcher - Class in org.grails.io.support
-
PathMatcher implementation for Ant-style path patterns.
- AntPathMatcher() - Constructor for class org.grails.io.support.AntPathMatcher
- append(String) - Method in class grails.build.logging.GrailsConsole
- appendPiecesForUri(String...) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Takes any number of Strings and appends them into a uri, making sure that a forward slash is inserted between each piece and making sure that no duplicate slashes are in the uri
- applyRelativePath(String, String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Apply the given relative path to the given path, assuming standard Java folder separation (i.e.
- assertNotNull(Object, String) - Method in class org.grails.io.support.FileSystemResource
B
- beforeShutdown() - Method in class grails.build.logging.GrailsConsole
- bindSystemOutAndErr(PrintStream, PrintStream) - Method in class grails.build.logging.GrailsConsole
- BUFFER_SIZE - Static variable in class org.grails.io.support.SpringIOUtils
- buildFinished(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
Signals that the last target has finished.
- buildStarted(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
Signals that a build has started.
- byteArrayToHexString(byte[]) - Static method in class org.grails.io.support.SpringIOUtils
-
Convert a byte[] array to readable string format.
C
- CandidateListCompletionHandler - Class in org.grails.build.interactive
-
Fixes issues with the default CandidateListCompletionHandler such as clearing out the whole buffer when a completion matches a list of candidates
- CandidateListCompletionHandler() - Constructor for class org.grails.build.interactive.CandidateListCompletionHandler
- CATEGORY_SEPARATOR - Static variable in class grails.build.logging.GrailsConsole
- CLASS_EXTENSION - Static variable in class org.grails.io.support.GrailsResourceUtils
- classNameToResourceCache - Variable in class org.grails.io.support.ResourceLocator
- classPackageAsResourcePath(Class<?>) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Given an input class object, return a string which consists of the class's package name as a pathname, i.e., all dots ('.') are replaced by slashes ('/').
- CLASSPATH_URL_PREFIX - Static variable in class org.grails.io.support.GrailsResourceUtils
-
Pseudo URL prefix for loading from the class path: "classpath:"
- CLASSPATH_URL_PREFIX - Static variable in interface org.grails.io.support.ResourceLoader
-
Pseudo URL prefix for loading from the class path: "classpath:"
- ClassPathResource - Class in org.grails.io.support
-
Resource implementation for class path resources.
- ClassPathResource(String) - Constructor for class org.grails.io.support.ClassPathResource
-
Create a new ClassPathResource for ClassLoader usage.
- ClassPathResource(String, Class<?>) - Constructor for class org.grails.io.support.ClassPathResource
-
Create a new ClassPathResource for Class usage.
- ClassPathResource(String, ClassLoader) - Constructor for class org.grails.io.support.ClassPathResource
-
Create a new ClassPathResource for ClassLoader usage.
- ClassPathResource(String, ClassLoader, Class<?>) - Constructor for class org.grails.io.support.ClassPathResource
-
Create a new ClassPathResource with optional ClassLoader and Class.
- classSearchDirectories - Variable in class org.grails.io.support.ResourceLocator
- clean() - Method in class grails.build.support.MetaClassRegistryCleaner
- cleanAndRemove(MetaClassRegistryCleaner) - Static method in class grails.build.support.MetaClassRegistryCleaner
- cleanlyExit(int) - Method in class grails.build.logging.GrailsConsole
- cleanPath(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
- closeQuietly(Closeable) - Static method in class org.grails.io.support.SpringIOUtils
-
Closes a closeable gracefully without throwing exceptions etc.
- CLOSURE_MARKER - Static variable in class org.grails.io.support.ResourceLocator
- CollectionUtils - Class in grails.util
-
Collection utility methods.
- combine(String, String) - Method in class org.grails.io.support.AntPathMatcher
-
Combines two patterns into a new pattern that is returned.
- CommandLine - Interface in org.grails.build.parsing
-
Represents the parsed command line options.
- CommandLineParser - Class in org.grails.build.parsing
-
Command line parser that parses arguments to the command line.
- CommandLineParser() - Constructor for class org.grails.build.parsing.CommandLineParser
- COMPILER_ROOT_PATTERNS - Static variable in class org.grails.io.support.GrailsResourceUtils
- complete(ConsoleReader, List<CharSequence>, int) - Method in class org.grails.build.interactive.CandidateListCompletionHandler
- computeChecksum(File, String) - Static method in class org.grails.io.support.SpringIOUtils
- ConsoleLogger - Interface in grails.build.logging
-
Interface containing methods for logging to the Grails console
- contentLength() - Method in class org.grails.io.support.AbstractFileResolvingResource
- contentLength() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns the underlying File's length.
- contentLength() - Method in interface org.grails.io.support.Resource
-
Determine the content length for this resource.
- convertClassLoaderURL(URL) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Convert the given URL as returned from the ClassLoader into a Resource object.
- copy(byte[], File) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given byte array to the given output File.
- copy(byte[], OutputStream) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given byte array to the given OutputStream.
- copy(File, File) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given input File to the given output File.
- copy(InputStream, OutputStream) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given InputStream to the given OutputStream.
- copy(Reader, Writer) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given Reader to the given Writer.
- copy(String, Writer) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given String to the given output Writer.
- copy(Resource, File) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given input File to the given output File.
- copyAll(Resource, Resource[], File) - Static method in class org.grails.io.support.SpringIOUtils
-
Copies all the resources for the given target directory.
- copyToByteArray(File) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given input File into a new byte array.
- copyToByteArray(InputStream) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given InputStream into a new byte array.
- copyToString(Reader) - Static method in class org.grails.io.support.SpringIOUtils
-
Copy the contents of the given Reader into a String.
- countOccurrencesOf(String, String) - Static method in class org.grails.io.support.AntPathMatcher
-
Count the occurrences of the substring in string s.
- createAndRegister() - Static method in class grails.build.support.MetaClassRegistryCleaner
- createAntProject() - Static method in class org.grails.build.logging.GrailsConsoleAntBuilder
- createCommandLine() - Method in class org.grails.build.parsing.CommandLineParser
- createConsoleReader(InputStream) - Method in class grails.build.logging.GrailsConsole
- createInstance() - Static method in class grails.build.logging.GrailsConsole
- createRelative(String) - Method in class org.grails.io.support.ClassPathResource
-
This implementation creates a ClassPathResource, applying the given path relative to the path of the underlying resource of this descriptor.
- createRelative(String) - Method in class org.grails.io.support.FileSystemResource
-
This implementation creates a FileSystemResource, applying the given path relative to the path of the underlying file of this resource descriptor.
- createRelative(String) - Method in interface org.grails.io.support.Resource
-
Creates a new resource relative to this one
- createRelative(String) - Method in class org.grails.io.support.UrlResource
-
This implementation creates a UrlResource, applying the given path relative to the path of the underlying URL of this resource descriptor.
- createTerminal() - Method in class grails.build.logging.GrailsConsole
-
Creates the instance of Terminal used directly in GrailsConsole.
- createTerminal() - Method in class grails.build.logging.GrailsEclipseConsole
- createXmlSlurper() - Static method in class org.grails.io.support.SpringIOUtils
D
- DEBUG_FORK - Static variable in interface org.grails.build.parsing.CommandLine
- DEFAULT_PATH_SEPARATOR - Static variable in class org.grails.io.support.AntPathMatcher
-
Default path separator: "/"
- DefaultCommandLine - Class in org.grails.build.parsing
-
Implementation of the
CommandLineinterface. - DefaultCommandLine() - Constructor for class org.grails.build.parsing.DefaultCommandLine
- DefaultCommandLine.SpecifiedOption - Class in org.grails.build.parsing
- defaultResourceLoader - Variable in class org.grails.io.support.ResourceLocator
- DefaultResourceLoader - Class in org.grails.io.support
-
Default implementation of the ResourceLoader interface.
- DefaultResourceLoader() - Constructor for class org.grails.io.support.DefaultResourceLoader
-
Create a new DefaultResourceLoader.
- DefaultResourceLoader(ClassLoader) - Constructor for class org.grails.io.support.DefaultResourceLoader
-
Create a new DefaultResourceLoader.
- DefaultStackTraceFilterer - Class in org.grails.exceptions.reporting
-
Default implementation of StackTraceFilterer.
- DefaultStackTraceFilterer() - Constructor for class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- DefaultStackTraceFilterer(boolean) - Constructor for class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- determineRootDir(String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Determine the root directory for the given location.
- DirectoryWatcher - Class in org.grails.io.watch
-
Utility class to watch directories for changes.
- DirectoryWatcher() - Constructor for class org.grails.io.watch.DirectoryWatcher
-
Constructor.
- DirectoryWatcher.FileChangeListener - Interface in org.grails.io.watch
-
Interface for FileChangeListeners
- doFindMatchingFileSystemResources(File, String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Find all resources in the file system that match the given location pattern via the Ant-style PathMatcher.
- doFindPathMatchingFileResources(Resource, String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Find all resources in the file system that match the given location pattern via the Ant-style PathMatcher.
- doFindPathMatchingJarResources(Resource, String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Find all resources in jar files that match the given location pattern via the Ant-style PathMatcher.
- DOMAIN_DIR_PATH - Static variable in class org.grails.io.support.GrailsResourceUtils
- DOMAIN_PATH_PATTERN - Static variable in class org.grails.io.support.GrailsResourceUtils
- doMatch(String, String, boolean, Map<String, String>) - Method in class org.grails.io.support.AntPathMatcher
-
Actually match the given
pathagainst the givenpattern. - doRetrieveMatchingFiles(String, File, Set<File>) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Recursively retrieve files that match the given pattern, adding them to the given result list.
E
- echoStatus() - Method in class grails.build.logging.GrailsConsole
-
Replays the last status message
- ENABLE_INTERACTIVE - Static variable in class grails.build.logging.GrailsConsole
- ENABLE_TERMINAL - Static variable in class grails.build.logging.GrailsConsole
- equals(Object) - Method in class org.grails.io.support.ClassPathResource
-
This implementation compares the underlying class path locations.
- equals(Object) - Method in class org.grails.io.support.FileSystemResource
-
This implementation compares the underlying File references.
- equals(Object) - Method in class org.grails.io.support.UrlResource
-
This implementation compares the underlying URL references.
- error(String) - Method in interface grails.build.logging.ConsoleLogger
-
Prints an error message
- error(String) - Method in class grails.build.logging.GrailsConsole
-
Prints an error message
- error(String, String) - Method in interface grails.build.logging.ConsoleLogger
-
Log an error with a specific error label
- error(String, String) - Method in class grails.build.logging.GrailsConsole
- error(String, Throwable) - Method in interface grails.build.logging.ConsoleLogger
-
Use to log an error
- error(String, Throwable) - Method in class grails.build.logging.GrailsConsole
-
Use to log an error
- error(Throwable) - Method in interface grails.build.logging.ConsoleLogger
-
Use to log an error
- error(Throwable) - Method in class grails.build.logging.GrailsConsole
-
Use to log an error
- ERROR - Static variable in class grails.build.logging.GrailsConsole
- exists() - Method in class org.grails.io.support.AbstractFileResolvingResource
- exists() - Method in class org.grails.io.support.ClassPathResource
-
This implementation checks for the resolution of a resource URL.
- exists() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns whether the underlying file exists.
- exists() - Method in interface org.grails.io.support.Resource
-
Return whether this resource actually exists in physical form.
- extractJarFileURL(URL) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Extract the URL for the actual jar file from the given URL (which may point to a resource in a jar file or to a jar file itself).
- extractPathWithinPattern(String, String) - Method in class org.grails.io.support.AntPathMatcher
-
Given a pattern and a full path, determine the pattern-mapped part.
- extractUriTemplateVariables(String, String) - Method in class org.grails.io.support.AntPathMatcher
F
- FILE_SEPARATOR - Static variable in class org.grails.io.support.ResourceLocator
- FILE_URL_PREFIX - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL prefix for loading from the file system: "file:"
- FileSystemResource - Class in org.grails.io.support
-
Based on Spring FileSystemResource implementation.
- FileSystemResource(File) - Constructor for class org.grails.io.support.FileSystemResource
-
Create a new FileSystemResource from a File handle.
- FileSystemResource(String) - Constructor for class org.grails.io.support.FileSystemResource
-
Create a new FileSystemResource from a file path.
- FileSystemResourceLoader - Class in org.grails.io.support
-
ResourceLoaderimplementation that resolves plain paths as file system resources rather than as class path resources (the latter isDefaultResourceLoader's default strategy). - FileSystemResourceLoader() - Constructor for class org.grails.io.support.FileSystemResourceLoader
- filter(Throwable) - Method in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- filter(Throwable) - Method in interface org.grails.exceptions.reporting.StackTraceFilterer
-
Remove all apparently Grails-internal trace entries from the exception instance
- filter(Throwable, boolean) - Method in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- filter(Throwable, boolean) - Method in interface org.grails.exceptions.reporting.StackTraceFilterer
-
Remove all apparently Grails-internal trace entries from the exception instance
- findAllClassPathResources(String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Find all class location resources with the given location via the ClassLoader.
- findPathMatchingResources(String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Find all resources that match the given location pattern via the Ant-style PathMatcher.
- findResourceForClassName(String) - Method in class org.grails.io.support.ResourceLocator
- findResourceForURI(String) - Method in class org.grails.io.support.ResourceLocator
- flush() - Method in class grails.build.logging.GrailsConsole
-
Makes sure that the console has been reset to the default state and that the out stream has been flushed.
- FULL_STACK_TRACE_MESSAGE - Static variable in interface org.grails.exceptions.reporting.StackTraceFilterer
G
- get() - Method in class grails.util.Holder
- get(boolean) - Method in class grails.util.Holder
- getAppDir(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
- getArtefactDirectory(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Takes a file path and returns the name of the folder under grails-app i.e: Input: /usr/joe/project/grails-app/domain/com/mystartup/Book.groovy Output: domain
- getCategory() - Method in class grails.build.logging.GrailsConsole
- getClassLoader() - Method in class org.grails.io.support.ClassPathResource
-
Return the ClassLoader that this resource will be obtained from.
- getClassLoader() - Method in class org.grails.io.support.DefaultResourceLoader
-
Return the ClassLoader to load class path resources with.
- getClassLoader() - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Return the ClassLoader that this pattern resolver works with (never
null). - getClassLoader() - Method in interface org.grails.io.support.ResourceLoader
-
Expose the ClassLoader used by this ResourceLoader.
- getClassLoader() - Method in class org.grails.io.support.StaticResourceLoader
- getClassName(String) - Static method in class grails.util.GrailsNameUtils
-
Return the class name for the given logical name.
- getClassName(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Returns the class name for a Grails resource.
- getClassName(String, String) - Static method in class grails.util.GrailsNameUtils
-
Returns the class name for the given logical name and trailing name.
- getClassName(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Gets the class name of the specified Grails resource
- getClassNameForClassFile(String, String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Returns the class name for a compiled class file
- getClassNameRepresentation(String) - Static method in class grails.util.GrailsNameUtils
-
Returns the class name representation of the given name
- getCommandName() - Method in interface org.grails.build.parsing.CommandLine
- getCommandName() - Method in class org.grails.build.parsing.DefaultCommandLine
- getCurrentCommandLine() - Static method in class org.grails.build.parsing.CommandLineParser
- getDefaultClassLoader() - Static method in class org.grails.io.support.DefaultResourceLoader
- getDefaultInputMask() - Method in class grails.build.logging.GrailsConsole
- getDefaultResourceLoader() - Method in class org.grails.io.support.ResourceLocator
- getDescription() - Method in class org.grails.build.parsing.Option
- getDescription() - Method in class org.grails.io.support.ClassPathResource
-
This implementation returns a description that includes the class path location.
- getDescription() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns a description that includes the absolute path of the file.
- getDescription() - Method in interface org.grails.io.support.Resource
-
Return a description for this resource, to be used for error output when working with the resource.
- getDescription() - Method in class org.grails.io.support.UrlResource
-
This implementation returns a description that includes the URL.
- getDescriptor() - Method in interface grails.plugins.GrailsPluginInfo
-
Returns the location of the Resource that represents the plugin descriptor (the *GrailsPlugin.groovy file)
- getEnvironment() - Method in interface org.grails.build.parsing.CommandLine
- getEnvironment() - Method in class org.grails.build.parsing.DefaultCommandLine
- getErr() - Method in class grails.build.logging.GrailsConsole
- getFile() - Method in class org.grails.io.support.AbstractFileResolvingResource
-
This implementation returns a File reference for the underlying class path resource, provided that it refers to a file in the file system.
- getFile() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns the underlying File reference.
- getFile() - Method in interface org.grails.io.support.Resource
-
Return a File handle for this resource.
- getFile() - Method in class org.grails.io.support.UrlResource
-
This implementation returns a File reference for the underlying URL/URI, provided that it refers to a file in the file system.
- getFile(URI) - Method in class org.grails.io.support.AbstractFileResolvingResource
-
This implementation returns a File reference for the underlying class path resource, provided that it refers to a file in the file system.
- getFile(URI) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Resolve the given resource URI to a
java.io.File, i.e. - getFile(URI, String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Resolve the given resource URI to a
java.io.File, i.e. - getFile(URL, String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Resolve the given resource URL to a
java.io.File, i.e. - getFileForLastModifiedCheck() - Method in class org.grails.io.support.AbstractFileResolvingResource
-
This implementation determines the underlying File (or jar file, in case of a resource in a jar/zip).
- getFilename() - Method in class org.grails.io.support.ClassPathResource
-
This implementation returns the name of the file that this class path resource refers to.
- getFilename() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns the name of the file.
- getFilename() - Method in interface org.grails.io.support.Resource
-
Determine a filename for this resource, i.e.
- getFilename() - Method in class org.grails.io.support.UrlResource
-
This implementation returns the name of the file that this URL refers to.
- getFilename(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Extract the filename from the given path, e.g.
- getFileName() - Method in interface org.grails.exceptions.reporting.SourceCodeAware
- getFullClassName(Class) - Static method in class grails.util.GrailsNameUtils
-
Returns the class name, including package, for the given class.
- getFullClassName(String) - Static method in class grails.util.GrailsNameUtils
-
Returns the class name, including package, for the given class.
- getFullName() - Method in interface grails.plugins.GrailsPluginInfo
- getGetterName(String) - Static method in class grails.util.GrailsNameUtils
-
Calculate the name for a getter method to retrieve the specified property
- getInput() - Method in class grails.build.logging.GrailsConsole
- getInputStream() - Method in class org.grails.io.support.ClassPathResource
-
This implementation opens an InputStream for the given class path resource.
- getInputStream() - Method in class org.grails.io.support.FileSystemResource
-
This implementation opens a FileInputStream for the underlying file.
- getInputStream() - Method in interface org.grails.io.support.Resource
-
An input stream
- getInputStream() - Method in class org.grails.io.support.UrlResource
-
This implementation opens an InputStream for the given URL.
- getInstance() - Static method in class grails.build.logging.GrailsConsole
- getJarFile(String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Resolve the given jar file URL into a JarFile object.
- getLastMessage() - Method in class grails.build.logging.GrailsConsole
- getLineNumber() - Method in interface org.grails.exceptions.reporting.SourceCodeAware
- getLogicalName(Class<?>, String) - Static method in class grails.util.GrailsNameUtils
-
Retrieves the logical class name of a Grails artifact given the Grails class and a specified trailing name.
- getLogicalName(String, String) - Static method in class grails.util.GrailsNameUtils
-
Retrieves the logical name of the class without the trailing name
- getLogicalPropertyName(String, String) - Static method in class grails.util.GrailsNameUtils
- getName() - Method in interface grails.plugins.GrailsPluginInfo
- getName() - Method in class org.grails.build.parsing.Option
- getNameFromScript(String) - Static method in class grails.util.GrailsNameUtils
-
Calculates the class name from a script name in the form my-funk-grails-script.
- getNaturalName(String) - Static method in class grails.util.GrailsNameUtils
-
Converts a property name into its natural language equivalent eg ('firstName' becomes 'First Name')
- getOption() - Method in class org.grails.build.parsing.DefaultCommandLine.SpecifiedOption
- getOptionsHelpMessage() - Method in class org.grails.build.parsing.CommandLineParser
- getOrCreateChildMap(Map, String) - Static method in class grails.util.CollectionUtils
-
Gets a child map of the given parent map or returns an empty map if it doesn't exist
- getOut() - Method in class grails.build.logging.GrailsConsole
- getOutputStream() - Method in class org.grails.io.support.FileSystemResource
-
This implementation opens a FileOutputStream for the underlying file.
- getPackageName(String) - Static method in class grails.util.GrailsNameUtils
-
Returns the package prefix without the class name eg ('a.b.ClassName' becomes 'a.b').
- getPath() - Method in class org.grails.io.support.ClassPathResource
-
Return the path for this resource (as resource path within the class path).
- getPath() - Method in class org.grails.io.support.FileSystemResource
-
Return the file path for this resource.
- getPathFromBaseDir(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Gets the path relative to the project base directory.
- getPathFromRoot(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Get the path relative to an artefact folder under grails-app i.e: Input: /usr/joe/project/grails-app/conf/BootStrap.groovy Output: BootStrap.groovy Input: /usr/joe/project/grails-app/domain/com/mystartup/Book.groovy Output: com/mystartup/Book.groovy
- getPathMatcher() - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Return the PathMatcher that this resource pattern resolver uses.
- getPatternComparator(String) - Method in class org.grails.io.support.AntPathMatcher
-
Given a full path, returns a
Comparatorsuitable for sorting patterns in order of explicitness. - getPluginDir() - Method in interface grails.plugins.GrailsPluginInfo
- getPluginName(String) - Static method in class grails.util.GrailsNameUtils
-
Returns the name of a plugin given the name of the *GrailsPlugin.groovy descriptor file.
- getProperties() - Method in interface grails.plugins.GrailsPluginInfo
-
Gets the properties of the plugin as a map
- getPropertyForGetter(String) - Static method in class grails.util.GrailsNameUtils
-
Returns a property name equivalent for the given getter name or null if it is not a valid getter.
- getPropertyForGetter(String, Class) - Static method in class grails.util.GrailsNameUtils
-
Returns a property name equivalent for the given getter name and return type or null if it is not a valid getter.
- getPropertyForGetter(String, String) - Static method in class grails.util.GrailsNameUtils
-
Returns a property name equivalent for the given getter name and return type or null if it is not a valid getter.
- getPropertyForSetter(String) - Static method in class grails.util.GrailsNameUtils
-
Returns a property name equivalent for the given setter name or null if it is not a valid setter.
- getPropertyName(Class<?>) - Static method in class grails.util.GrailsNameUtils
-
Shorter version of getPropertyNameRepresentation.
- getPropertyName(String) - Static method in class grails.util.GrailsNameUtils
-
Shorter version of getPropertyNameRepresentation.
- getPropertyNameConvention(Object) - Static method in class grails.util.GrailsNameUtils
-
Returns an appropriate property name for the given object.
- getPropertyNameConvention(Object, String) - Static method in class grails.util.GrailsNameUtils
-
Returns an appropriate property name for the given object.
- getPropertyNameForLowerCaseHyphenSeparatedName(String) - Static method in class grails.util.GrailsNameUtils
-
Converts foo-bar into fooBar.
- getPropertyNameRepresentation(Class<?>) - Static method in class grails.util.GrailsNameUtils
-
Returns the property name equivalent for the specified class.
- getPropertyNameRepresentation(String) - Static method in class grails.util.GrailsNameUtils
-
Returns the property name representation of the given name.
- getRawArguments() - Method in interface org.grails.build.parsing.CommandLine
- getRawArguments() - Method in class org.grails.build.parsing.DefaultCommandLine
- getReader() - Method in class grails.build.logging.GrailsConsole
- getRelativeInsideWebInf(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Takes a Grails resource (one located inside the grails-app dir) and gets its relative path inside the WEB-INF directory when deployed.
- getRemainingArgs() - Method in interface org.grails.build.parsing.CommandLine
- getRemainingArgs() - Method in class org.grails.build.parsing.DefaultCommandLine
- getRemainingArgsArray() - Method in interface org.grails.build.parsing.CommandLine
- getRemainingArgsArray() - Method in class org.grails.build.parsing.DefaultCommandLine
- getRemainingArgsLineSeparated() - Method in interface org.grails.build.parsing.CommandLine
- getRemainingArgsLineSeparated() - Method in class org.grails.build.parsing.DefaultCommandLine
- getRemainingArgsString() - Method in interface org.grails.build.parsing.CommandLine
- getRemainingArgsString() - Method in class org.grails.build.parsing.DefaultCommandLine
- getRemainingArgsWithOptionsString() - Method in interface org.grails.build.parsing.CommandLine
- getRemainingArgsWithOptionsString() - Method in class org.grails.build.parsing.DefaultCommandLine
- getResource(String) - Method in class org.grails.io.support.DefaultResourceLoader
- getResource(String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
- getResource(String) - Method in interface org.grails.io.support.ResourceLoader
-
Return a Resource handle for the specified resource.
- getResource(String) - Method in class org.grails.io.support.StaticResourceLoader
- getResourceByPath(String) - Method in class org.grails.io.support.DefaultResourceLoader
-
Return a Resource handle for the resource at the given path.
- getResourceByPath(String) - Method in class org.grails.io.support.FileSystemResourceLoader
-
Resolve resource paths as file system paths.
- getResourceLoader() - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Return the ResourceLoader that this pattern resolver works with.
- getResources(String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
- getScriptName(Class<?>) - Static method in class grails.util.GrailsNameUtils
-
Retrieves the script name representation of the supplied class.
- getScriptName(String) - Static method in class grails.util.GrailsNameUtils
-
Retrieves the script name representation of the given class name.
- getSetterName(String) - Static method in class grails.util.GrailsNameUtils
-
Retrieves the name of a setter for the specified property name
- getShortName(Class<?>) - Static method in class grails.util.GrailsNameUtils
-
Returns the class name without the package prefix.
- getShortName(String) - Static method in class grails.util.GrailsNameUtils
-
Returns the class name without the package prefix.
- getStaticResourcePathForResource(Resource, String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Retrieves the static resource path for the given Grails resource artifact (controller/taglib etc.)
- getSystemProperties() - Method in interface org.grails.build.parsing.CommandLine
- getSystemProperties() - Method in class org.grails.build.parsing.DefaultCommandLine
- getTargetOut() - Method in class org.grails.build.logging.GrailsConsoleErrorPrintStream
- getTargetOut() - Method in class org.grails.build.logging.GrailsConsolePrintStream
- getTerminal() - Method in class grails.build.logging.GrailsConsole
- getUndeclaredOptions() - Method in interface org.grails.build.parsing.CommandLine
- getUndeclaredOptions() - Method in class org.grails.build.parsing.DefaultCommandLine
- getURI() - Method in class org.grails.io.support.ClassPathResource
- getURI() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns a URI for the underlying file.
- getURI() - Method in interface org.grails.io.support.Resource
-
Return a URI handle for this resource.
- getURI() - Method in class org.grails.io.support.UrlResource
-
This implementation returns the underlying URI directly, if possible.
- getURL() - Method in class org.grails.io.support.ClassPathResource
-
This implementation returns a URL for the underlying class path resource.
- getURL() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns a URL for the underlying file.
- getURL() - Method in interface org.grails.io.support.Resource
-
Return a URL handle for this resource.
- getURL() - Method in class org.grails.io.support.UrlResource
-
This implementation returns the underlying URL reference.
- getValue() - Method in class org.grails.build.parsing.DefaultCommandLine.SpecifiedOption
- getVersion() - Method in interface grails.plugins.GrailsPluginInfo
- getViewsDir(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
- GRAILS_APP_DIR - Static variable in class org.grails.io.support.GrailsResourceUtils
-
The name of the Grails application directory
- GRAILS_RESOURCE_PATTERN_EIGHTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_ELEVENTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_FIFTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_FIRST_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_FOURTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_NINTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_SECOND_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_SEVENTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_SIXTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_TENTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_THIRD_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- grails.build.logging - package grails.build.logging
- grails.build.support - package grails.build.support
- grails.plugins - package grails.plugins
- grails.plugins.exceptions - package grails.plugins.exceptions
- grails.plugins.metadata - package grails.plugins.metadata
- grails.util - package grails.util
- grailsAppResourcePatterns - Static variable in class org.grails.io.support.GrailsResourceUtils
- GrailsConsole - Class in grails.build.logging
-
Utility class for delivering console output in a nicely formatted way.
- GrailsConsole() - Constructor for class grails.build.logging.GrailsConsole
- GrailsConsoleAntBuilder - Class in org.grails.build.logging
-
Silences ant builder output.
- GrailsConsoleAntBuilder() - Constructor for class org.grails.build.logging.GrailsConsoleAntBuilder
- GrailsConsoleAntBuilder(Project) - Constructor for class org.grails.build.logging.GrailsConsoleAntBuilder
- GrailsConsoleBuildListener - Class in org.grails.build.logging
-
Mainly silences a lot of redundant Ant output.
- GrailsConsoleBuildListener() - Constructor for class org.grails.build.logging.GrailsConsoleBuildListener
- GrailsConsoleBuildListener(GrailsConsole) - Constructor for class org.grails.build.logging.GrailsConsoleBuildListener
- GrailsConsoleErrorPrintStream - Class in org.grails.build.logging
-
Used to replace default System.err with one that routes calls through GrailsConsole.
- GrailsConsoleErrorPrintStream(PrintStream) - Constructor for class org.grails.build.logging.GrailsConsoleErrorPrintStream
- GrailsConsolePrintStream - Class in org.grails.build.logging
-
Used to replace default System.out with one that routes calls through GrailsConsole.
- GrailsConsolePrintStream(PrintStream) - Constructor for class org.grails.build.logging.GrailsConsolePrintStream
- GrailsEclipseConsole - Class in grails.build.logging
-
This class is meant to keep changes made in support of Eclipse separate from the standard GrailsConsole implementation.
- GrailsEclipseConsole() - Constructor for class grails.build.logging.GrailsEclipseConsole
-
Create a GrailsConsole that has some customizations to work better with STS.
- GrailsNameUtils - Class in grails.util
-
Utility methods for converting between different name types, for example from class names -> property names and vice-versa.
- GrailsPlugin - Annotation Type in grails.plugins.metadata
-
Annotation that appears on classes of a particular plugin.
- GrailsPluginInfo - Interface in grails.plugins
-
Base interface that just contains information about a particular plugin.
- GrailsResourceUtils - Class in org.grails.io.support
-
Utility methods for resource handling / figuring out class names.
- GrailsResourceUtils() - Constructor for class org.grails.io.support.GrailsResourceUtils
H
- hashCode() - Method in class org.grails.io.support.ClassPathResource
-
This implementation returns the hash code of the underlying class path location.
- hashCode() - Method in class org.grails.io.support.FileSystemResource
-
This implementation returns the hash code of the underlying File reference.
- hashCode() - Method in class org.grails.io.support.UrlResource
-
This implementation returns the hash code of the underlying URL reference.
- hasOption(String) - Method in interface org.grails.build.parsing.CommandLine
- hasOption(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- HELP_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- HISTORYFILE - Static variable in class grails.build.logging.GrailsConsole
- Holder<T> - Class in grails.util
- Holder(String) - Constructor for class grails.util.Holder
I
- indicateProgress() - Method in interface grails.build.logging.ConsoleLogger
-
Indicates progress with the default progress indicator
- indicateProgress() - Method in class grails.build.logging.GrailsConsole
-
Indicates progress with the default progress indicator
- indicateProgress(int) - Method in interface grails.build.logging.ConsoleLogger
-
Indicates progress by number
- indicateProgress(int) - Method in class grails.build.logging.GrailsConsole
-
Indicates progress by number
- indicateProgress(int, int) - Method in interface grails.build.logging.ConsoleLogger
-
Indicate progress for a number and total
- indicateProgress(int, int) - Method in class grails.build.logging.GrailsConsole
-
Indicate progress for a number and total
- indicateProgressPercentage(long, long) - Method in interface grails.build.logging.ConsoleLogger
-
Indicates progress as a percentage for the given number and total
- indicateProgressPercentage(long, long) - Method in class grails.build.logging.GrailsConsole
-
Indicates progress as a percentage for the given number and total
- info(String) - Method in interface grails.build.logging.ConsoleLogger
-
Synonym for #log
- info(String) - Method in class grails.build.logging.GrailsConsole
-
Synonym for #log
- initialize(InputStream, PrintStream, PrintStream) - Method in class grails.build.logging.GrailsConsole
- instantiateFromConfig(ConfigObject, String, String) - Static method in class org.grails.io.support.GrailsResourceUtils
- instantiateFromFlatConfig(Map<String, Object>, String, String) - Static method in class org.grails.io.support.GrailsResourceUtils
- InvalidVersionException - Exception in grails.plugins
-
Throw when a specified version number is invalid.
- InvalidVersionException() - Constructor for exception grails.plugins.InvalidVersionException
- InvalidVersionException(String) - Constructor for exception grails.plugins.InvalidVersionException
- InvalidVersionException(String, Throwable) - Constructor for exception grails.plugins.InvalidVersionException
- InvalidVersionException(Throwable) - Constructor for exception grails.plugins.InvalidVersionException
- isAnsiEnabled() - Method in class grails.build.logging.GrailsConsole
- isApplicationClass(String) - Method in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
-
Whether the given class name is an internal class and should be filtered
- isBlank(String) - Static method in class grails.util.GrailsNameUtils
-
Determines whether a given string is
null, empty, or only contains whitespace. - isDomainClass(URL) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Checks whether the file referenced by the given url is a domain class
- isEnvironmentSet() - Method in interface org.grails.build.parsing.CommandLine
- isEnvironmentSet() - Method in class org.grails.build.parsing.DefaultCommandLine
- isFileURL(URL) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Determine whether the given URL points to a resource in the file system, that is, has protocol "file" or "vfs".
- isGetter(String, Class<?>[]) - Static method in class grails.util.GrailsNameUtils
-
Deprecated.use
GrailsNameUtils.isGetter(String, Class, Class[])instead because this method has a defect for "is.." method with Boolean return types. - isGetter(String, Class, Class<?>[]) - Static method in class grails.util.GrailsNameUtils
-
Returns true if the name of the method specified and the number of arguments make it a javabean property getter.
- isGrailsPath(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Checks whether the specified path is a Grails path.
- isGrailsResource(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Checks whether the specific resources is a Grails resource.
- isInteractiveEnabled() - Method in class grails.build.logging.GrailsConsole
- isJarResource(Resource) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Return whether the given resource handle indicates a jar resource that the
doFindPathMatchingJarResourcesmethod can handle. - isJarURL(URL) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Determine whether the given URL points to a resource in a jar file, that is, has protocol "jar", "zip", "wsjar" or "code-source".
- isPattern(String) - Method in class org.grails.io.support.AntPathMatcher
- isProjectSource(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Checks whether the specified path is a Grails path.
- isProjectSource(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Checks whether the specified path is a Grails path.
- isPropertyMethodSuffix(String) - Static method in class grails.util.GrailsNameUtils
-
This method is used when interrogating a method name to determine if the method represents a property getter.
- isReadable() - Method in class org.grails.io.support.AbstractFileResolvingResource
- isReadable() - Method in class org.grails.io.support.FileSystemResource
-
This implementation checks whether the underlying file is marked as readable (and corresponds to an actual file with content, not to a directory).
- isReadable() - Method in interface org.grails.io.support.Resource
-
Return whether the contents of this resource can be read, e.g.
- isStacktrace() - Method in class grails.build.logging.GrailsConsole
- isValidJavaIdentifier(String) - Static method in class grails.util.GrailsNameUtils
-
Test whether the given name is a valid Java identifier
- isValidJavaPackage(String) - Static method in class grails.util.GrailsNameUtils
-
Test whether the give package name is a valid Java package
- isVerbose() - Method in class grails.build.logging.GrailsConsole
- isWindows() - Method in class grails.build.logging.GrailsConsole
- isWritable() - Method in class org.grails.io.support.FileSystemResource
-
This implementation checks whether the underlying file is marked as writable (and corresponds to an actual file with content, not to a directory).
J
- JAR_URL_SEPARATOR - Static variable in class org.grails.io.support.GrailsResourceUtils
L
- lastModified() - Method in class org.grails.io.support.AbstractFileResolvingResource
- lastModified() - Method in class org.grails.io.support.FileSystemResource
- lastModified() - Method in interface org.grails.io.support.Resource
-
Determine the last-modified timestamp for this resource.
- lastOption() - Method in interface org.grails.build.parsing.CommandLine
- lastOption() - Method in class org.grails.build.parsing.DefaultCommandLine
- LINE_SEPARATOR - Static variable in class grails.build.logging.GrailsConsole
- log(String) - Method in interface grails.build.logging.ConsoleLogger
-
Logs a message below the current status message
- log(String) - Method in class grails.build.logging.GrailsConsole
-
Logs a message below the current status message
- lookupEnvironmentForCommand() - Method in interface org.grails.build.parsing.CommandLine
- lookupEnvironmentForCommand() - Method in class org.grails.build.parsing.DefaultCommandLine
- lookupSecondary() - Method in class grails.util.Holder
M
- match(String, String) - Method in class org.grails.io.support.AntPathMatcher
- matchStart(String, String) - Method in class org.grails.io.support.AntPathMatcher
- memoized(Supplier<T>) - Static method in class grails.util.SupplierUtil
-
Caches the result of supplier in a thread safe manner.
- memoizedNonEmpty(Supplier<T>) - Static method in class grails.util.SupplierUtil
-
Caches the result of supplier in a thread safe manner.
- messageLogged(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
When a message is sent to this logger, Ant calls this method.
- MetaClassRegistryCleaner - Class in grails.build.support
-
Allows clean-up of changes made to the MetaClassRegistry.
N
- name() - Method in annotation type grails.plugins.metadata.GrailsPlugin
- NAME - Static variable in interface grails.plugins.GrailsPluginInfo
-
The name of the plugin
- newList(T...) - Static method in class grails.util.CollectionUtils
- newMap(Object...) - Static method in class grails.util.CollectionUtils
- newSAXParser() - Static method in class org.grails.io.support.SpringIOUtils
- newSet(T...) - Static method in class grails.util.CollectionUtils
- NOANSI_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- NON_INTERACTIVE_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- NULL_RESOURCE - Static variable in class org.grails.io.support.ResourceLocator
O
- OFFLINE_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- onChange(File) - Method in interface org.grails.io.watch.DirectoryWatcher.FileChangeListener
-
Fired when a file changes
- onNew(File) - Method in interface org.grails.io.watch.DirectoryWatcher.FileChangeListener
-
Fired when a new file is created
- Option - Class in org.grails.build.parsing
-
Represents a command line option.
- Option(String, String) - Constructor for class org.grails.build.parsing.Option
- optionValue(String) - Method in interface org.grails.build.parsing.CommandLine
-
The value of an option
- optionValue(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- org.grails.build.interactive - package org.grails.build.interactive
- org.grails.build.logging - package org.grails.build.logging
- org.grails.build.parsing - package org.grails.build.parsing
- org.grails.exceptions.reporting - package org.grails.exceptions.reporting
- org.grails.io.support - package org.grails.io.support
- org.grails.io.watch - package org.grails.io.watch
P
- parse(String...) - Method in class org.grails.build.parsing.CommandLineParser
-
Parses the given list of command line arguments.
- parse(DefaultCommandLine, String[]) - Method in class org.grails.build.parsing.CommandLineParser
- ParseException - Exception in org.grails.build.parsing
-
Exception that is thrown in command line parsing fails.
- ParseException(String) - Constructor for exception org.grails.build.parsing.ParseException
- ParseException(Throwable) - Constructor for exception org.grails.build.parsing.ParseException
- parseNew(String[]) - Method in interface org.grails.build.parsing.CommandLine
-
Parses a new
CommandLineinstance that combines this instance with the given arguments - parseNew(String[]) - Method in class org.grails.build.parsing.DefaultCommandLine
- parseString(String) - Method in class org.grails.build.parsing.CommandLineParser
-
Parses a string of all the command line options converting them into an array of arguments to pass to #parse(String..args)
- parseString(String, String) - Method in class org.grails.build.parsing.CommandLineParser
-
Parses a string of all the command line options converting them into an array of arguments to pass to #parse(String..args)
- patchMatchingResolver - Variable in class org.grails.io.support.ResourceLocator
- PathMatchingResourcePatternResolver - Class in org.grails.io.support
-
A ResourcePatternResolver implementation that is able to resolve a specified resource location path into one or more matching Resources.
- PathMatchingResourcePatternResolver() - Constructor for class org.grails.io.support.PathMatchingResourcePatternResolver
-
Create a new PathMatchingResourcePatternResolver with a DefaultResourceLoader.
- PathMatchingResourcePatternResolver(ClassLoader) - Constructor for class org.grails.io.support.PathMatchingResourcePatternResolver
-
Create a new PathMatchingResourcePatternResolver with a DefaultResourceLoader.
- PathMatchingResourcePatternResolver(ResourceLoader) - Constructor for class org.grails.io.support.PathMatchingResourcePatternResolver
-
Create a new PathMatchingResourcePatternResolver.
- patterns - Static variable in class org.grails.io.support.GrailsResourceUtils
- persistHistory() - Method in class grails.build.logging.GrailsConsole
- PluginException - Exception in grails.plugins.exceptions
- PluginException() - Constructor for exception grails.plugins.exceptions.PluginException
- PluginException(String) - Constructor for exception grails.plugins.exceptions.PluginException
- PluginException(String, Throwable) - Constructor for exception grails.plugins.exceptions.PluginException
- PluginException(Throwable) - Constructor for exception grails.plugins.exceptions.PluginException
- PluginSource - Annotation Type in grails.plugins.metadata
-
Source level annotation that indicates that a given source file is part of a plugin
- prepareHistory() - Method in class grails.build.logging.GrailsConsole
-
Prepares a history file to be used by the ConsoleReader.
- print(Object) - Method in class org.grails.build.logging.GrailsConsoleErrorPrintStream
- print(Object) - Method in class org.grails.build.logging.GrailsConsolePrintStream
- print(String) - Method in class org.grails.build.logging.GrailsConsoleErrorPrintStream
- print(String) - Method in class org.grails.build.logging.GrailsConsolePrintStream
- println(Object) - Method in class org.grails.build.logging.GrailsConsoleErrorPrintStream
- println(Object) - Method in class org.grails.build.logging.GrailsConsolePrintStream
- println(String) - Method in class org.grails.build.logging.GrailsConsoleErrorPrintStream
- println(String) - Method in class org.grails.build.logging.GrailsConsolePrintStream
- processOption(DefaultCommandLine, String) - Method in class org.grails.build.parsing.CommandLineParser
- processSystemArg(DefaultCommandLine, String) - Method in class org.grails.build.parsing.CommandLineParser
- PROMPT - Static variable in class grails.build.logging.GrailsConsole
R
- redirectSystemOutAndErr(boolean) - Method in class grails.build.logging.GrailsConsole
- REFRESH_DEPENDENCIES_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- REGEX_FILE_SEPARATOR - Static variable in class org.grails.io.support.GrailsResourceUtils
- reinitialize(InputStream, PrintStream, PrintStream) - Method in class grails.build.logging.GrailsConsole
-
Use in testing when System.out, System.err or System.in change
- removeInstance() - Static method in class grails.build.logging.GrailsConsole
- removeListener(DirectoryWatcher.FileChangeListener) - Method in class org.grails.io.watch.DirectoryWatcher
-
Removes a file listener from the current list
- removeShutdownHook() - Method in class grails.build.logging.GrailsConsole
- resetCompleters() - Method in class grails.build.logging.GrailsConsole
- resolveRootDirResource(Resource) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Resolve the specified resource for path matching.
- Resource - Interface in org.grails.io.support
-
Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.
- RESOURCE_PATH_PATTERN - Static variable in class org.grails.io.support.GrailsResourceUtils
- ResourceLoader - Interface in org.grails.io.support
-
Strategy interface for loading resources (e..
- ResourceLocator - Class in org.grails.io.support
-
Used to locate resources at build / development time
- ResourceLocator() - Constructor for class org.grails.io.support.ResourceLocator
- resourceSearchDirectories - Variable in class org.grails.io.support.ResourceLocator
- restoreOriginalSystemOutAndErr() - Method in class grails.build.logging.GrailsConsole
- restoreTerminal() - Method in class grails.build.logging.GrailsConsole
- retrieveMatchingFiles(File, String) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Retrieve files that match the given path pattern, checking the given directory and its subdirectories.
- run() - Method in class org.grails.io.watch.DirectoryWatcher
S
- SECURE_MASK_CHAR - Static variable in class grails.build.logging.GrailsConsole
- secureUserInput(String) - Method in class grails.build.logging.GrailsConsole
-
Like
GrailsConsole.userInput(String)except that the user's entered characters will be replaced with '*' on the CLI, masking the input (i.e. - set(T) - Method in class grails.util.Holder
- setActive(boolean) - Method in class org.grails.io.watch.DirectoryWatcher
-
Sets whether to stop the directory watcher
- setAlwaysIncludeNewline(boolean) - Method in class org.grails.build.interactive.CandidateListCompletionHandler
- setAnsiEnabled(boolean) - Method in class grails.build.logging.GrailsConsole
- setClassLoader(ClassLoader) - Method in class org.grails.io.support.DefaultResourceLoader
-
Specify the ClassLoader to load class path resources with, or
nullfor using the thread context class loader at the time of actual resource access. - setCommand(String) - Method in interface org.grails.build.parsing.CommandLine
- setCommand(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- setCommandName(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- setCutOffPackage(String) - Method in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- setCutOffPackage(String) - Method in interface org.grails.exceptions.reporting.StackTraceFilterer
-
Sets the package where the stack trace should end
- setDefaultInputMask(Character) - Method in class grails.build.logging.GrailsConsole
- setEnvironment(String) - Method in class org.grails.build.parsing.DefaultCommandLine
- setErr(PrintStream) - Method in class grails.build.logging.GrailsConsole
- setInstance(GrailsConsole) - Static method in class grails.build.logging.GrailsConsole
- setLastMessage(String) - Method in class grails.build.logging.GrailsConsole
- setOut(PrintStream) - Method in class grails.build.logging.GrailsConsole
- setPathMatcher(AntPathMatcher) - Method in class org.grails.io.support.PathMatchingResourcePatternResolver
-
Set the PathMatcher implementation to use for this resource pattern resolver.
- setPathSeparator(String) - Method in class org.grails.io.support.AntPathMatcher
-
Set the path separator to use for pattern parsing.
- setRawArguments(String[]) - Method in class org.grails.build.parsing.DefaultCommandLine
- setResourceLoader(ResourceLoader) - Method in class org.grails.io.support.ResourceLocator
- setSearchLocation(String) - Method in class org.grails.io.support.ResourceLocator
- setSearchLocations(Collection<String>) - Method in class org.grails.io.support.ResourceLocator
- setShouldFilter(boolean) - Method in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- setShouldFilter(boolean) - Method in interface org.grails.exceptions.reporting.StackTraceFilterer
- setSleepTime(long) - Method in class org.grails.io.watch.DirectoryWatcher
-
Sets the amount of time to sleep between checks
- setStacktrace(boolean) - Method in class grails.build.logging.GrailsConsole
- setVerbose(boolean) - Method in class grails.build.logging.GrailsConsole
- showPrompt() - Method in class grails.build.logging.GrailsConsole
-
Shows the prompt to request user input
- SourceCodeAware - Interface in org.grails.exceptions.reporting
-
An interface that represents an exception that is capable of providing more information about the source code
- SPACE - Static variable in class grails.build.logging.GrailsConsole
- SpecifiedOption() - Constructor for class org.grails.build.parsing.DefaultCommandLine.SpecifiedOption
- SPRING_SCRIPTS_PATH_PATTERN - Static variable in class org.grails.io.support.GrailsResourceUtils
- SpringIOUtils - Class in org.grails.io.support
-
Simple utility methods for file and stream copying.
- SpringIOUtils() - Constructor for class org.grails.io.support.SpringIOUtils
- STACK_LOG - Static variable in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- STACK_LOG_NAME - Static variable in class org.grails.exceptions.reporting.DefaultStackTraceFilterer
- STACKTRACE_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- STACKTRACE_FILTERED_MESSAGE - Static variable in class grails.build.logging.GrailsConsole
- STACKTRACE_MESSAGE - Static variable in class grails.build.logging.GrailsConsole
- StackTraceFilterer - Interface in org.grails.exceptions.reporting
-
Improves the output of stack traces produced by exceptions in a Grails application.
- StaticResourceLoader - Class in org.grails.io.support
-
Loads relative to a static base resource
- StaticResourceLoader(Resource) - Constructor for class org.grails.io.support.StaticResourceLoader
- SupplierUtil - Class in grails.util
-
Helper methods for dealing with
Supplier. - SupplierUtil() - Constructor for class grails.util.SupplierUtil
- SVN_DIR_NAME - Static variable in class org.grails.io.watch.DirectoryWatcher
- SYS_PROP_DISPLAY_FULL_STACKTRACE - Static variable in interface org.grails.exceptions.reporting.StackTraceFilterer
T
- targetFinished(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
Signals that a target has finished.
- targetStarted(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
Signals that a target is starting.
- taskFinished(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
Signals that a task has finished.
- taskStarted(BuildEvent) - Method in class org.grails.build.logging.GrailsConsoleBuildListener
-
Signals that a task is starting.
- toString() - Method in class org.grails.io.support.FileSystemResource
- toString() - Method in class org.grails.io.support.UrlResource
- toURI(String) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Create a URI instance for the given location String, replacing spaces with "%20" quotes first.
- toURI(URL) - Static method in class org.grails.io.support.GrailsResourceUtils
-
Create a URI instance for the given URL, replacing spaces with "%20" quotes first.
- TRAILING_NAME - Static variable in interface grails.plugins.GrailsPluginInfo
-
Defines the convention that appears within plugin class names
- translateCommandline(String) - Static method in class org.grails.build.parsing.CommandLineParser
-
Crack a command line.
U
- updateConstantMetaClass(MetaClassRegistryChangeEvent) - Method in class grails.build.support.MetaClassRegistryCleaner
- updateStatus(String) - Method in interface grails.build.logging.ConsoleLogger
-
Updates the current state message
- updateStatus(String) - Method in class grails.build.logging.GrailsConsole
-
Updates the current state message
- uriToResourceCache - Variable in class org.grails.io.support.ResourceLocator
- URL_PROTOCOL_CODE_SOURCE - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for an entry from an OC4J jar file: "code-source"
- URL_PROTOCOL_FILE - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for a file in the file system: "file"
- URL_PROTOCOL_JAR - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for an entry from a jar file: "jar"
- URL_PROTOCOL_VFS - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for a JBoss VFS resource: "vfs"
- URL_PROTOCOL_VFSZIP - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for an entry from a JBoss jar file: "vfszip"
- URL_PROTOCOL_WSJAR - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for an entry from a WebSphere jar file: "wsjar"
- URL_PROTOCOL_ZIP - Static variable in class org.grails.io.support.GrailsResourceUtils
-
URL protocol for an entry from a zip file: "zip"
- UrlResource - Class in org.grails.io.support
-
Resource implementation for
java.net.URLlocators. - UrlResource(String) - Constructor for class org.grails.io.support.UrlResource
-
Create a new UrlResource.
- UrlResource(URI) - Constructor for class org.grails.io.support.UrlResource
-
Create a new UrlResource.
- UrlResource(URL) - Constructor for class org.grails.io.support.UrlResource
-
Create a new UrlResource.
- useCachesIfNecessary(URLConnection) - Static method in class org.grails.io.support.GrailsResourceUtils
- userInput(String) - Method in class grails.build.logging.GrailsConsole
-
Replacement for AntBuilder.input() to eliminate dependency of GrailsScriptRunner on the Ant libraries.
- userInput(String, String[]) - Method in class grails.build.logging.GrailsConsole
-
Replacement for AntBuilder.input() to eliminate dependency of GrailsScriptRunner on the Ant libraries.
- userInput(String, List<String>) - Method in class grails.build.logging.GrailsConsole
V
- verbose(String) - Method in interface grails.build.logging.ConsoleLogger
-
Outputs a verbose message
- verbose(String) - Method in class grails.build.logging.GrailsConsole
- VERBOSE_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- version() - Method in annotation type grails.plugins.metadata.GrailsPlugin
- VERSION - Static variable in interface grails.plugins.GrailsPluginInfo
-
Defines the name of the property that specifies the plugin version
- VERSION_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- VIEWS_DIR_PATH - Static variable in class org.grails.io.support.GrailsResourceUtils
-
The path to the views directory
- VIEWS_DIR_PATH_NO_SLASH - Static variable in class org.grails.io.support.GrailsResourceUtils
-
The path to the views directory without a trailing slash
W
- warDeployed - Variable in class org.grails.io.support.ResourceLocator
- warn(String) - Method in interface grails.build.logging.ConsoleLogger
-
Prints a warning message
- warn(String) - Method in class grails.build.logging.GrailsConsole
-
Prints a warn message
- warning(String) - Method in interface grails.build.logging.ConsoleLogger
-
Prints a warning message
- warning(String) - Method in class grails.build.logging.GrailsConsole
-
Prints an error message
- WARNING - Static variable in class grails.build.logging.GrailsConsole
- WEB_APP_DIR - Static variable in class org.grails.io.support.GrailsResourceUtils
-
The name of the Web app dir within Grails
- WEB_APP_DIR - Static variable in class org.grails.io.support.ResourceLocator
- WEB_INF - Static variable in class org.grails.io.support.GrailsResourceUtils
-
The relative path to the WEB-INF directory
- WILDCARD - Static variable in class org.grails.io.support.ResourceLocator
All Classes All Packages