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.
- addWatchDirectory(File, List<String>) - Method in class org.grails.io.watch.MacOsWatchServiceDirectoryWatcher
- addWatchDirectory(File, List<String>) - Method in class org.grails.io.watch.WatchServiceDirectoryWatcher
- addWatchFile(File) - Method in class org.grails.io.watch.DirectoryWatcher
-
Adds a file to the watch list
- addWatchFile(File) - Method in class org.grails.io.watch.MacOsWatchServiceDirectoryWatcher
- addWatchFile(File) - Method in class org.grails.io.watch.WatchServiceDirectoryWatcher
- 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
- AntPathMatcher.AntPatternComparator - Class in org.grails.io.support
- AntPatternComparator(String) - Constructor for class org.grails.io.support.AntPathMatcher.AntPatternComparator
- 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
- BUILD_TIME_PROPERTY - Static variable in class grails.util.GrailsVersion
- 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
- 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
- compare(String, String) - Method in class org.grails.io.support.AntPathMatcher.AntPatternComparator
- 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
- current() - Static method in class grails.util.GrailsVersion
- customize(Binding) - Method in interface grails.binding.GroovyShellBindingCustomizer
-
Callback to customize a
Bindinginstance.
D
- DEBUG_FORK - Static variable in interface org.grails.build.parsing.CommandLine
- deepSanitize(Throwable) - Static method in class grails.util.GrailsUtil
-
Sanitize the exception and ALL nested causes
- 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
- deprecated(Class<?>, String) - Static method in class grails.util.GrailsUtil
-
Logs warning message about deprecation of specified property or method of some class.
- deprecated(Class<?>, String, String) - Static method in class grails.util.GrailsUtil
-
Logs warning message about deprecation of specified property or method of some class.
- deprecated(String) - Static method in class grails.util.GrailsUtil
-
Logs warning message about some deprecation and code style related hints.
- 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
-
Domain path is always matched against the normalized File representation of the URL and can therefore work with slashes as separators.
- DOMAIN_PATH_PATTERN_NEW - 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 grails.util.GrailsVersion
- 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.
- extractRootCause(Throwable) - Static method in class grails.util.GrailsUtil
-
Extracts the root cause of the exception, no matter how nested it is
- 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:
- getBuildTimestamp() - Method in class grails.util.GrailsVersion
- 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 org.grails.io.support.GrailsResourceUtils
-
Returns the class name for a Grails resource.
- 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
- 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.
- 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
- getGitRevision() - Method in class grails.util.GrailsVersion
- getGrailsVersion() - Static method in class grails.util.GrailsUtil
- 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
- getName() - Method in class org.grails.build.parsing.Option
- getOption() - Method in class org.grails.build.parsing.DefaultCommandLine.SpecifiedOption
- getOptionsHelpMessage() - Method in class org.grails.build.parsing.CommandLineParser
- 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.
- 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:
- 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. - 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
- 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 class grails.util.GrailsVersion
- getViewsDir(Resource) - Static method in class org.grails.io.support.GrailsResourceUtils
- GIT_COMMIT_ID_PROPERTY - Static variable in class grails.util.GrailsVersion
- 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_FIFTEENTH_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
-
Resources are resolved against the platform specific path and must therefore obey the specific File.separator.
- GRAILS_RESOURCE_PATTERN_FOURTEENTH_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_RESOURCE_PATTERN_THIRTEENTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- GRAILS_RESOURCE_PATTERN_TWELFTH_MATCH - Static variable in class org.grails.io.support.GrailsResourceUtils
- grails.binding - package grails.binding
- grails.build.logging - package grails.build.logging
- grails.build.support - package grails.build.support
- 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.
- GrailsResourceUtils - Class in org.grails.io.support
-
Utility methods for resource handling / figuring out class names.
- GrailsUtil - Class in grails.util
-
Grails utility methods for command line and GUI applications.
- GrailsVersion - Class in grails.util
-
Get the version of Grails from build properties.
- GroovyShellBindingCustomizer - Interface in grails.binding
-
Callback interface that can be used to customize a
Binding.
H
- hashCode() - Method in class grails.util.GrailsVersion
- 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
- 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
- isDevelopmentEnv() - Static method in class grails.util.GrailsUtil
-
Retrieves whether the current execution environment is the development one.
- 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".
- 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.
- 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.
- isSnapshot() - Method in class grails.util.GrailsVersion
- isStacktrace() - Method in class grails.build.logging.GrailsConsole
- 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
- MacOsWatchServiceDirectoryWatcher - Class in org.grails.io.watch
-
Implementation of a
AbstractDirectoryWatcherthat usesWatchService. - MacOsWatchServiceDirectoryWatcher() - Constructor for class org.grails.io.watch.MacOsWatchServiceDirectoryWatcher
- 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
- newSAXParser() - Static method in class org.grails.io.support.SpringIOUtils
- 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
- 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
- printSanitizedStackTrace(Throwable) - Static method in class grails.util.GrailsUtil
- printSanitizedStackTrace(Throwable, PrintWriter) - Static method in class grails.util.GrailsUtil
- printSanitizedStackTrace(Throwable, PrintWriter, StackTraceFilterer) - Static method in class grails.util.GrailsUtil
- 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
-
backslashes need escaping in regexes
- 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_NAME - Static variable in class grails.util.GrailsVersion
- RESOURCE_PATH_PATTERN - Static variable in class org.grails.io.support.GrailsResourceUtils
-
This pattern will match any resource within a given directory inside grails-app
- RESOURCE_PATH_PATTERN_NEW - 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
- run() - Method in class org.grails.io.watch.MacOsWatchServiceDirectoryWatcher
- run() - Method in class org.grails.io.watch.WatchServiceDirectoryWatcher
S
- sanitizeRootCause(Throwable) - Static method in class grails.util.GrailsUtil
-
Get the root cause of an exception and sanitize it for display to the user
- 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
- SPRING_SCRIPTS_PATH_PATTERN_NEW - Static variable in class org.grails.io.support.GrailsResourceUtils
- SpringIOUtils - Class in org.grails.io.support
-
Simple utility methods for file and stream copying.
- 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. - 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 grails.util.GrailsVersion
- 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.
- 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(String) - Static method in class grails.util.GrailsVersion
- VERSION_ARGUMENT - Static variable in interface org.grails.build.parsing.CommandLine
- VERSION_PROPERTY - Static variable in class grails.util.GrailsVersion
- 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
- warn(String) - Static method in class grails.util.GrailsUtil
-
Logs warning message to grails.util.GrailsUtil logger which is turned on in development mode.
- 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
- WatchServiceDirectoryWatcher - Class in org.grails.io.watch
-
Implementation of a
AbstractDirectoryWatcherthat usesWatchService. - WatchServiceDirectoryWatcher() - Constructor for class org.grails.io.watch.WatchServiceDirectoryWatcher
- 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