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

A

access(File, Callable<T>) - Method in ExclusiveFileAccess
Lock access to a file and perform action.
ArchiveOperationsProxy - Interface in org.ysb33r.grolifant.api.core
A proxy for archive operations.

B

BaseProgressLogger - Interface in org.ysb33r.grolifant.api.core
A simple interface for logging progress to stdout.
bzip2Resource(Object) - Method in ProjectOperationsProxy
Creates resource that points to a bzip2 compressed file at the given path.

C

ChecksumCreationException - Class in org.ysb33r.grolifant.api.errors
Failed to create checksum
ChecksumFailedException - Class in org.ysb33r.grolifant.api.errors
Thrown when a checksum fails.
ChecksumFailedException(String, String, File, String, String) - Constructor in ChecksumFailedException
Instantiates an exception.
CheckSumVerification - Interface in org.ysb33r.grolifant.api.core
Verifies a checksum.
ClassLocation - Interface in org.ysb33r.grolifant.api.core
Describes the location of a class.
ClassLocationException - Class in org.ysb33r.grolifant.api.errors
Thrown when a class location search failed.
compareTo(Version) - Method in Version
Compares this object with the specified object for order.
completed() - Method in ProgressLogger
Prevent further logging.
ConfigurationException - Class in org.ysb33r.grolifant.api.errors
A failure has occurred when downloading a distribution of an external tool or SDK.
copy(Action<? super CopySpec>) - Method in FileSystemOperations
Copies the specified files.
copy(Action<? super CopySpec>) - Method in ProjectOperationsProxy
Performs a copy according to copy specification.
current() - Method in OperatingSystem
Returns a representation of the operating system that the JVM currently runs on.

D

defaultParser(String) - Method in Version
The default parser will look for something that roughly matches the following regex: {@code \d+\.
delete(Action<? super DeleteSpec>) - Method in FileSystemOperations
Deletes the specified files.
delete(Action<? super DeleteSpec>) - Method in ProjectOperationsProxy
DistributionFailedException - Class in org.ysb33r.grolifant.api.errors
Thrown when a distribution failed to unpack correctly or does not meet specific criteria.
DownloadFailedException - Class in org.ysb33r.grolifant.api.errors
Failure to download an item.

E

environmentVariable(Object, boolean) - Method in GradleSysEnvProvider
environmentVariable(Object, boolean) - Method in ProjectOperationsProxy
Creates a provider to an environmental variable.
ExclusiveFileAccess - Class in org.ysb33r.grolifant.api.core
Provides co-operative exclusive file access.
ExclusiveFileAccess(int, int) - Constructor in ExclusiveFileAccess
Create exclusive access guard and monitor.
exec(Action<? super ExecSpec>) - Method in ExecOperationsProxy
Executes the specified external process.
exec(Action<? super ExecSpec>) - Method in ProjectOperationsProxy
Executes the specified external process.
ExecConfigurationException - Class in org.ysb33r.grolifant.api.errors
An error occurred trying to configure an execution specification or a resolver for an external tool.
ExecOperationsProxy - Interface in org.ysb33r.grolifant.api.core
Proxies the ExecOperations service that was added in Gradle 6.0, so that equivalent functionality can be provided in Gradle 4.0+
ExecutionException - Class in org.ysb33r.grolifant.api.errors
A failure occurred running or setting up an execution specification.

F

file(Object) - Method in FileSystemOperations
Converts a file-like object to a File instance with project context.
file(Object) - Method in ProjectOperationsProxy
Convert an object to a file
fileOrNull(Object) - Method in FileSystemOperations
Similar to {@Link #file}, but does not throw an exception if the object is null or an empty provider.
fileOrNull(Object) - Method in ProjectOperationsProxy
Similar to {@Link #file}, but does not throw an exception if the object is null or an empty provider.
FileSystemOperations - Interface in org.ysb33r.grolifant.api.core
Abstracts a number of file operations.
FileSystemOperationsProxy - Class in org.ysb33r.grolifant.loadable.core
Common filesystem operations
FileSystemOperationsProxy(Project) - Constructor in FileSystemOperationsProxy
findAllInPath(String) - Method in OperatingSystem
Find all files in system search path of a certain name.
findInPath(String) - Method in OperatingSystem
Locates the given exe in the system path.
FreeBSD - Class in org.ysb33r.grolifant.api.core.os
FreeBSD implementation of OperatingSystem.

G

GenericBSD - Class in org.ysb33r.grolifant.api.core.os
Abstract base class for BSD-based operating systems.
GenericBSD() - Constructor in GenericBSD
GenericUnix - Class in org.ysb33r.grolifant.api.core.os
Generic Unix-like implementation of OperatingSystem.
GenericUnix() - Constructor in GenericUnix
getArch() - Method in GenericUnix
Architecture underlying the operating system
getArch() - Method in OperatingSystem
Architecture underlying the operating system
getArch() - Method in Windows
Architecture underlying the operating system
getArchiveOperations() - Method in ProjectOperationsProxy
getArchStr() - Method in GenericUnix
Implementation-specific free-form architecture string.
getArchStr() - Method in OperatingSystem
Architecture underlying the operating system
getArchStr() - Method in Solaris
Solaris-specific architecture strings.
getArchStr() - Method in Windows
Architecture underlying the operating system
getChecksum() - Method in CheckSumVerification
Returns the checksum in question.
getConsoleOutput() - Method in ProjectOperationsProxy
Console output mode
getExecOperations() - Method in ProjectOperationsProxy
getExecutableName(String) - Method in GenericUnix
Given a base string, returns the Unix exe name.
getExecutableName(String) - Method in OperatingSystem
Returns OS-specific decorated exe name.
getExecutableName(String) - Method in Windows
getExecutableNames(String) - Method in GenericUnix
Given a base string, returns the Unix exe name.
getExecutableNames(String) - Method in OperatingSystem
Returns list of possible OS-specific decorated exe names.
getExecutableNames(String) - Method in Windows
getExtensions() - Method in ProjectOperationsProxy
Extensions container for the project.
getFile() - Method in ClassLocation
If the class is located on the filesystem or in a JAR this will be the location.
getFileSystemOperations() - Method in ProjectOperationsProxy
getFsOperations() - Method in ProjectOperationsProxy
Returns an object instance for filesystem operations that deals coprrectly with the functionality of the curretn Gradle version.
getFullProjectPath() - Method in ProjectOperationsProxy
Get the full project path including the root project name in case of a multi-project.
getGradleLogLevel() - Method in ProjectOperationsProxy
Get the minimum log level for Gradle.
getGradleUserHomeDir() - Method in ProjectOperationsProxy
Gradle user home directory.
getPath() - Method in OperatingSystem
List of system search paths
getPathSeparator() - Method in OperatingSystem
The character used to separate elements in a system search path
getProjectDir() - Method in ProjectOperationsProxy
Returns the project directory.
getProjectName() - Method in ProjectOperationsProxy
The project name
getProjectPath() - Method in ProjectOperationsProxy
Get project path.
getPropertyProvider() - Method in ProjectOperationsProxy
getProviders() - Method in ProjectOperationsProxy
A reference to the provider factory.
getRuntime() - Method in ClassLocation
If the class is located in a runtime module
getScriptName(String) - Method in GenericUnix
Returns OS-specific decorated script name.
getScriptName(String) - Method in OperatingSystem
Returns OS-specific decorated script name.
getScriptName(String) - Method in Windows
Returns Windows-specific decorated script name.
getSharedLibraryName(String) - Method in GenericUnix
Returns OS-specific shared library name
getSharedLibraryName(String) - Method in OperatingSystem
Returns OS-specific shared library name
getSharedLibraryName(String) - Method in Windows
Returns Windows shared library name
getSharedLibrarySuffix() - Method in GenericUnix
Return Unix-like string that is used to suffix to shared libraries
getSharedLibrarySuffix() - Method in MacOsX
Return MacOSX string that is used to suffix to shared libraries
getSharedLibrarySuffix() - Method in OperatingSystem
OS-dependent string that is used to suffix to shared libraries
getStaticLibraryName(String) - Method in GenericUnix
Returns OS-specific static library name
getStaticLibraryName(String) - Method in OperatingSystem
Returns OS-specific static library name
getStaticLibraryName(String) - Method in Windows
Returns OS-specific static library name
getStaticLibrarySuffix() - Method in OperatingSystem
OS-dependent string that is used to suffix to static libraries
getTasks() - Method in ProjectOperationsProxy
Utilities for working with tasks in a consistent manner across Gradle versions.
gradleProperty(Object, boolean) - Method in GradleSysEnvProvider
gradleProperty(Object, boolean) - Method in ProjectOperationsProxy
Creates a provider to a project property.
GradleSysEnvProvider - Interface in org.ysb33r.grolifant.api.core
An proxy to provide system properties, project properties and environmental variables as providers.
GrolifantError - Interface in org.ysb33r.grolifant.api.errors
A token interface for exception arising out of Grolifant library.
gzipResource(Object) - Method in ProjectOperationsProxy
Creates resource that points to a gzip compressed file at the given path.

H

I

INSTANCE - Field in Windows
isConfigurationCacheEnabled() - Method in ProjectOperationsProxy
Whether configuration cache is enabled for a build.
isFreeBSD() - Method in FreeBSD
isFreeBSD() - Method in OperatingSystem
Check is this is FreeBSD
isLinux() - Method in Linux
Confirms that this is an OS representation of a Linux operating system.
isLinux() - Method in OperatingSystem
Check is this is a Linux flavour
isMacOsX() - Method in MacOsX
Confirms that this is an OS representation of a Mac operating system.
isMacOsX() - Method in OperatingSystem
Check is this is Apple Mac OS X
isNetBSD() - Method in NetBSD
Confirms that this is an OS representation NetBSD.
isNetBSD() - Method in OperatingSystem
Check is this is NetBSD
isOffline() - Method in ProjectOperationsProxy
Whether Gradle is operating in offline mode.
isRefreshDependencies() - Method in ProjectOperationsProxy
Whether dependencies should be refreshed.
isRerunTasks() - Method in ProjectOperationsProxy
Whether tasks should be re-ruin
isRoot() - Method in ProjectOperationsProxy
Whether current project is the root project.
isSolaris() - Method in OperatingSystem
Check is this is a Solaris flavour
isSolaris() - Method in Solaris
Confirms this is a representation of the Solaris operating system.
isUnix() - Method in GenericUnix
Confirms that this is a Unix-like operating system.
isUnix() - Method in OperatingSystem
Check is this is any kind of Unix-like O/S
isWindows() - Method in OperatingSystem
Check is this is Microsoft Windows
isWindows() - Method in Windows
Confirms this is a representation of the Microsoft Windows operating system.

J

javaexec(Action<? super JavaExecSpec>) - Method in ExecOperationsProxy
Executes the specified external java process.
javaexec(Action<? super JavaExecSpec>) - Method in ProjectOperationsProxy
Executes the specified external java process.

K

L

LegacyLevel - Class in org.ysb33r.grolifant.api.core
Internal used enumeration to help with logic with specific Gradle version differences.
Linux - Class in org.ysb33r.grolifant.api.core.os
Linux implementation of OperatingSystem.
log(String) - Method in BaseProgressLogger
Sends a progress message.

M

MacOsX - Class in org.ysb33r.grolifant.api.core.os
MacOSX implementation of OperatingSystem.

N

named(String, Class<T>, Action<T>) - Method in TaskTools
Configures a task, preferably in a lazy-manner.
NetBSD - Class in org.ysb33r.grolifant.api.core.os
NetBSD implementation of OperatingSystem.
NotSupportedException - Class in org.ysb33r.grolifant.api.errors
Feature is not supported on this version of Gradle.

O

of(String, Function<String, Parts>) - Method in Version
Creates a new version instance from a parse-able string using a custom parser
OperatingSystem - Class in org.ysb33r.grolifant.api.core
OperatingSystem.Arch - Enum in org.ysb33r.grolifant.api.core
Enumeration representing common hardware-operating system architectures.
OperatingSystem() - Constructor in OperatingSystem
OS_ARCH - Field in OperatingSystem
OS_NAME - Field in OperatingSystem
OS_VERSION - Field in OperatingSystem

P

PRE_4_10 - Field in LegacyLevel
PRE_4_1 - Field in LegacyLevel
PRE_4_2 - Field in LegacyLevel
@since 1.1
PRE_4_3 - Field in LegacyLevel
PRE_4_5 - Field in LegacyLevel
PRE_4_8 - Field in LegacyLevel
PRE_4_9 - Field in LegacyLevel
PRE_5_0 - Field in LegacyLevel
PRE_5_1 - Field in LegacyLevel
PRE_5_5 - Field in LegacyLevel
PRE_5_6 - Field in LegacyLevel
PRE_6_0 - Field in LegacyLevel
PRE_6_5 - Field in LegacyLevel
PRE_6_6 - Field in LegacyLevel
PRE_7_0 - Field in LegacyLevel
@since 1.1
PRE_7_1 - Field in LegacyLevel
@since 1.0
ProgressLogger - Interface in org.ysb33r.grolifant.api.core
Allows implementation against
projectDir - Field in FileSystemOperationsProxy
The project directory.
projectDirPath - Field in FileSystemOperationsProxy
The project directory as java.nio.file.Path.
ProjectOperationsProxy - Class in org.ysb33r.grolifant.loadable.core
ProjectOperationsProxy(Project, FileSystemOperations, TaskTools) - Constructor in ProjectOperationsProxy

Q

R

register(String, Class<T>, Action<T>) - Method in TaskTools
Registers a task in a lazy-manner.
relativePath(Object) - Method in FileSystemOperations
Returns the relative path from the project directory to the given path.
relativePath(Object) - Method in FileSystemOperationsProxy
Returns the relative path from the project directory to the given path.
relativePath(Object) - Method in ProjectOperationsProxy
Returns the relative path from the project directory to the given path.
relativePathToProjectDir(Object) - Method in FileSystemOperations
Returns the relative path from the given path to the project directory.
relativePathToProjectDir(Object) - Method in FileSystemOperationsProxy
Returns the relative path from the given path to the project directory.
relativePathToRootDir(Object) - Method in FileSystemOperations
Returns the relative path from the given path to the root project directory.
relativePathToRootDir(Object) - Method in FileSystemOperationsProxy
Returns the relative path from the given path to the root project directory.
relativeRootPath(Object) - Method in FileSystemOperations
Returns the relative path from the root project directory to the given path.
relativeRootPath(Object) - Method in FileSystemOperationsProxy
Returns the relative path from the root project directory to the given path.
resolve(Object, Object, boolean) - Method in GradleSysEnvProvider
Resolves a property in order of Gradle, system, environment variable.
resolveProperty(Object, Object, boolean) - Method in ProjectOperationsProxy
Searches by Gradle property, then system property and finally by environment variable using the PropertyResolver convention.
rootDir - Field in FileSystemOperationsProxy
The root project directory.
rootDirPath - Field in FileSystemOperationsProxy
The project root directory as java.nio.file.Path.

S

Solaris - Class in org.ysb33r.grolifant.api.core.os
started() - Method in ProgressLogger
Allow logging to start
sync(Action<? super CopySpec>) - Method in FileSystemOperations
Synchronizes the contents of a destination directory with some source directories and files.
systemProperty(Object, boolean) - Method in GradleSysEnvProvider
systemProperty(Object, boolean) - Method in ProjectOperationsProxy
Creates a provider to a system property.

T

tarTree(Object) - Method in ArchiveOperationsProxy
tarTree(Object) - Method in ProjectOperationsProxy
Returns a TAR tree presentation
taskize(Iterable<Object>) - Method in TaskTools
Resolves a maany to tasks items to a provider of tasks.
TaskTools - Interface in org.ysb33r.grolifant.api.core
Utilities for working with tasks in a consistent manner across Gradle versions.
toString() - Method in OperatingSystem
Stringize implementation

U

UnsupportedConfigurationException - Class in org.ysb33r.grolifant.api.errors
Thrown when a type instance cannot be converted to a Gradle-specific type instance.

V

verify(File) - Method in CheckSumVerification
Verifies a file against a checksum
Version - Class in org.ysb33r.grolifant.api.core
A class for comparing versions.
Version.ParseException - Class in org.ysb33r.grolifant.api.core
Version.ParseException(String, Throwable) - Constructor in Version.ParseException
Version.Parts - Class in org.ysb33r.grolifant.api.core
Version(String, Version.Parts) - Constructor in Version
Creates an instance of a Version object.

W

whenNamed(String, Class<T>, Action<T>) - Method in TaskTools
Adds a configuration for a task, for when a task is created.
Windows - Class in org.ysb33r.grolifant.api.core.os
Windows implementation of OperatingSystem.
Windows() - Constructor in Windows
WrapperCreationException - Class in org.ysb33r.grolifant.api.errors
Thrown when a tool wrapper script cannot be created.

X

Y

Z

zipTree(Object) - Method in ArchiveOperationsProxy
zipTree(Object) - Method in ProjectOperationsProxy
Returns a ZIP tree presentation

_

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