Package groovy.util
package groovy.util
-
ClassDescriptionAllTestSuite can be used in extension of GroovyTestSuite to execute TestCases written in Groovy from inside a Java IDE.Allows Ant tasks to be used with a Groovy builder-style markup.An abstract base class for creating arbitrary nested trees of objects or eventsUtility class to guess the encoding of a given text file.A Comparator which uses a closure to compare 2 values being equalA ConfigObject at a simple level is a Map that creates configuration entries (other ConfigObjects) when referencing them.Allow easy integration from Groovy into Java through convenience methods.Represents a dynamically expandable bean.Mix of BuilderSupport and SwingBuilder's factory support.Deprecated.A Collections utility classA GroovyObject facade for an underlying MBean which acts like a normal groovy object but which is actually implemented via an underlying JMX MBean.Specific script engine able to reload modified scripts as well as dealing properly with dependent scripts.A JUnit 3
TestCase
base class in Groovy.A TestSuite which will run a Groovy unit test case inside any Java IDE either as a unit test case or as an application.A helper class for printing indented text.A Map.Entry implementation.Represents an arbitrary tree node which can be used for structured metadata or any arbitrary XML-like tree.A helper class for creating nested trees of Node objects for handling arbitrary dataA List implementation which is returned by queries on aNode
which provides some XPath like helper methods for GPath.A helper class for creating nested trees of dataA builder for creating object graphs.
Each node defines the class to be created and the property on its parent (if any) at the same time.Strategy for setting a child node on its parent.
Useful for handling Lists/Arrays vs normal properties.Strategy for resolving a classname.Default impl that calls parent.propertyName = child
If parent.propertyName is a Collection it will try to add child to the collection.Default impl that capitalizes the classname.Default impl, always returns 'id'Default impl that calls Class.newInstance()Default impl, always returns 'refId'Default impl that returns parentName and childName accordingly.Strategy for picking the correct synthetic identifier.Strategy for creating new instances of a class.
Useful for plug-in calls to non-default constructors.Strategy for picking the correct synthetic reference identifier.Strategy for resolving a relationship property name.List decorator that will trigger PropertyChangeEvents when a value changes.
An optional Closure may be specified and will work as a filter, if it returns true the property will trigger an event (if the value indeed changed), otherwise it won't.Map decorator that will trigger PropertyChangeEvents when a value changes.
An optional Closure may be specified and will work as a filter, if it returns true the property will trigger an event (if the value indeed changed), otherwise it won't.Set decorator that will trigger PropertyChangeEvents when a value changes.
An optional Closure may be specified and will work as a filter, if it returns true the property will trigger an event (if the value indeed changed), otherwise it won't.OrderBy<T>A helper class for sorting objects via a closure to return the field or operation on which to sort.Systematically generate permutations.Dynamic groovy proxy for another object.Classes to generate 'Proxy' objects which implement interfaces, maps of closures and/or extend classes/delegates.Base interface for customizing where resources can be found for theGroovyScriptEngine
.Prints agroovy.util.Node
(as used withXmlParser
) including all children in XML format.A helper class for parsing XML into a tree of Node instances for a simple way of processing XML.Parse XML into a document tree that may be traversed similar to XPath expressions.
GroovyAssert
class instead