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

AbstractAuthenticationSupportedRepository - Class in org.ysb33r.grolifant.api.core.repositories
Base class for creating repository types that optionally support authentication.
AbstractAuthenticationSupportedRepository(ProjectOperations) - Constructor in AbstractAuthenticationSupportedRepository
Base class constructor insance
AbstractBaseToolExtension - Class in org.ysb33r.grolifant.api.core.runnable
Use as a base class for project and task extensions that will wrap tools.
AbstractBaseToolExtension(Task, ProjectOperations, T) - Constructor in AbstractBaseToolExtension
Attach this extension to a task
AbstractCloudGit - Class in org.ysb33r.grolifant.api.core.git
Base class for implementing common functionality for Gitlab & GitHub.
AbstractCloudGit(ProjectOperations, String, String) - Constructor in AbstractCloudGit
Constructs a representation of a cloud Git provider
AbstractCmdlineArgumentSpec - Class in org.ysb33r.grolifant.api.core.runnable
Abstract class to set command-line parameters.
AbstractCmdlineArgumentSpec(ProjectOperations) - Constructor in AbstractCmdlineArgumentSpec
AbstractDistributionInstaller - Class in org.ysb33r.grolifant.api.core.downloader
Common functionality to be able to download a SDK and use it within Gradle
AbstractDistributionInstaller(String, String, ProjectOperations) - Constructor in AbstractDistributionInstaller
Creates setup for installing to a local cache.
AbstractSingleFileInstaller - Class in org.ysb33r.grolifant.api.core.downloader
Installer for single files.
AbstractToolExtension - Class in org.ysb33r.grolifant.api.core.runnable
Use as a base class for project and task extensions that will wrap tools.
AbstractToolExtension(Task, ProjectOperations, T) - Constructor in AbstractToolExtension
Attach this extension to a task
AbstractWrapperCacheBinaryTask - Class in org.ysb33r.grolifant.api.core.wrappers
Base class for tasks that cache arbitrary binaries.
AbstractWrapperCacheBinaryTask(String) - Constructor in AbstractWrapperCacheBinaryTask
Parameters:
locationPropertiesDefaultName - The default name for the location properties file.
AbstractWrapperGeneratorTask - Class in org.ysb33r.grolifant.api.core.wrappers
An abstract base class for creating tasks that create script wrappers.
AbstractWrapperGeneratorTask() - Constructor in AbstractWrapperGeneratorTask
access(File, Callable<T>) - Method in ExclusiveFileAccess
Lock access to a file and perform action.
addCommandLineArgumentProviders(Provider<List<String>>) - Method in AbstractCmdlineArgumentSpec
Add lazy-evaluated providers of arguments.
addExecPattern(String) - Method in AbstractDistributionInstaller
Add patterns for files to be marked exe,
args(Iterable<?>) - Method in AbstractCmdlineArgumentSpec
Add arguments to the entrypoint.
ArtifactDownloader - Class in org.ysb33r.grolifant.api.core.downloader
Performs low-level downloading work.
ArtifactDownloader(URI, File, ProjectOperations, String, ArtifactRequiresDownload, CheckSumVerification) - Constructor in ArtifactDownloader
Download an artifact without unpacking it.
asConfiguration(Object) - Method in ProjectToolsProxy
Resolves an arbitrary item to a Configuration instance.
asConfigurations(Collection<?>) - Method in ProjectToolsProxy
Resolves arbitrary items to a collection of Configuration instances.
authentication(Action<? super AuthenticationContainer>) - Method in AbstractAuthenticationSupportedRepository

B

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.
ClassLocationException - Class in org.ysb33r.grolifant.api.errors
Thrown when a class location search failed.
ClosureUtils - Class in org.ysb33r.grolifant.api.core
Methods for dealing with closures.
CmdLineArgumentSpecEntry - Class in org.ysb33r.grolifant.api.core.executable
Representation of a command-line specification and its order in processing.
CmdLineArgumentSpecEntry(String, Integer, CmdlineArgumentSpec) - Constructor in CmdLineArgumentSpecEntry
CombinedProjectTaskExtensionBase - Class in org.ysb33r.grolifant.api.core.runnable
Base class for an extension that can both be used on a project or a task.
CombinedProjectTaskExtensionBase(Task, ProjectOperations, T) - Constructor in CombinedProjectTaskExtensionBase
Attach this extension to a task
compareTo(CmdLineArgumentSpecEntry) - Method in CmdLineArgumentSpecEntry
compareTo(Version) - Method in Version
Compares this object with the specified object for order.
ConfigurationException - Class in org.ysb33r.grolifant.api.errors
A failure has occurred when downloading a distribution of an external tool or SDK.
configureItem(Object, Closure) - Method in ClosureUtils
Configure this item using a closure
content(Action) - Method in AbstractAuthenticationSupportedRepository
This is currently a NOOP.
copy(Action<? super CopySpec>) - Method in ProjectOperationsProxy
Performs a copy according to copy specification.
copyWrappersFromResources(String, Map<String, String>) - Method in ToolWrapper
Copy wrapper templates from resources into a temporary directory
createTempDirectory(String) - Method in FileSystemOperationsProxy
Creates a temporary directory with the given prefix.
credentials(Class<T>, Action<? super T>) - Method in AbstractAuthenticationSupportedRepository
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 ProjectOperationsProxy
DependencyCache - Class in org.ysb33r.grolifant.api.core.artifacts
A custom implementation of a dependency cache when the one from Gradle might not be directly accessible.
DependencyCache(Project, String, String, CacheRefresh, CheckSumVerification, PostDownloadProcessor) - Constructor in DependencyCache
Parameters:
project - Project context.
DistributionFailedException - Class in org.ysb33r.grolifant.api.errors
Thrown when a distribution failed to unpack correctly or does not meet specific criteria.
distributionName - Field in AbstractDistributionInstaller
Name of the distribution.
DownloadedLocalFile - Class in org.ysb33r.grolifant.api.core.downloader
Provides information on where a downloaded file ends up.
DownloadedLocalFile(File, File, URI) - Constructor in DownloadedLocalFile
@param dir Directory used for the package / distribution or single file.
DownloadFailedException - Class in org.ysb33r.grolifant.api.errors
Failure to download an item.

E

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() - Method in AbstractWrapperCacheBinaryTask
exec() - Method in AbstractWrapperGeneratorTask
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.
executableByPath(Object) - Method in AbstractBaseToolExtension
Locate an executable by a local path.
executableBySearchPath(Object) - Method in AbstractBaseToolExtension
Locate executable by searching the current environmental search path.
executableByVersion(Object) - Method in AbstractToolExtension
Locate an executable by version, probably downloading it if not local.
executablePathOrNull() - Method in AbstractBaseToolExtension
If a path has been set instead of a version, resolve the path.
executableSearchPathOrNull() - Method in AbstractBaseToolExtension
If a search path has been set, resolve the location by searching path
executableVersionOrNull() - Method in AbstractToolExtension
Resolves the version if it has been set.
ExecutionException - Class in org.ysb33r.grolifant.api.errors
A failure occurred running or setting up an execution specification.

F

failNoExecConfig() - Method in AbstractBaseToolExtension
Call this when there is no preset way to local the executable.
file(Object) - Method in ProjectOperationsProxy
Convert an object to a file
fileize(Iterable<Object>) - Method in ProjectOperationsProxy
Converts a collection of file-like objects to a list of File instances with project context.
fileOrNull(Object) - Method in ProjectOperationsProxy
Similar to {@Link #file}, but does not throw an exception if the object is null or an empty provider.
files(Collection<?>) - Method in FileSystemOperationsProxy
Converts a file-like objects to File instances with project context.
files(Object) - Method in ProjectOperationsProxy
filesDropNull(Collection<?>) - Method in FileSystemOperationsProxy
Converts a file-like objects to File instances with project context.
FileSystemOperationsProxy - Class in org.ysb33r.grolifant.loadable.core
Common filesystem operations
FileSystemOperationsProxy(ProjectOperations, 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
get(String, String, PropertyResolveOrder) - Method in PropertyResolver
Gets a property using a specific resolve order
getAdditionalProperties() - Method in AbstractWrapperCacheBinaryTask
Returns additional properties to be added to the cached binary properties file.
getAllArgs() - Method in AbstractCmdlineArgumentSpec
All defined arguments, plus all arguments providers via the command-line argument providers.
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
getArchivePath() - Method in AbstractCloudGit
Calculates an archive path for the specific repository type.
getArchivePath() - Method in GitHubArchive
Calculates an archive path for the specific repository type.
getArchivePath() - Method in GitLabArchive
Calculates an archive path for the specific repository type.
getArchiveRoot() - Method in GitRepoArchiveDownloader
Returns the location which is the top or home folder for a distribution.
getArchiveUri() - Method in AbstractCloudGit
Obtains the URI for the archive of the repository.
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
getArgs() - Method in AbstractCmdlineArgumentSpec
Return list of arguments to the entrypoint.
getAuthentication() - Method in AbstractAuthenticationSupportedRepository
getBeginToken() - Method in AbstractWrapperGeneratorTask
If the default of org.apache.tools.ant.filters.ReplaceTokens is used, this method will return the start token delimiter.
getBinaryLocationProvider() - Method in AbstractWrapperCacheBinaryTask
Obtains location of executable binary or script
getBinaryVersionProvider() - Method in AbstractWrapperCacheBinaryTask
Obtains version of binary or script
getCachedBinaryProperties() - Method in AbstractWrapperCacheBinaryTask
getCommandLineArgumentProviders() - Method in AbstractCmdlineArgumentSpec
Get current list of command-line argument providers.
getConsoleOutput() - Method in ProjectOperationsProxy
Console output mode
getCredentials(Class<T>) - Method in AbstractAuthenticationSupportedRepository
getDestDirProvider() - Method in AbstractWrapperGeneratorTask
getDistFromCache(String) - Method in AbstractDistributionInstaller
Creates a distribution if it does not exist already.
getDistFromSdkMan(String) - Method in AbstractDistributionInstaller
Attempts to locate distribution in the list of SdkMan candidates.
getDistributionFile(String, String) - Method in AbstractDistributionInstaller
Locates a file within the distribution
getDistributionRoot(String) - Method in AbstractDistributionInstaller
Returns the location which is the top or home folder for a distribution.
getDownloader() - Method in AbstractToolExtension
Gets the downloader implementation.
getEndToken() - Method in AbstractWrapperGeneratorTask
If the default of org.apache.tools.ant.filters.ReplaceTokens is used, this method will return the end token delimiter.
getExecOperations() - Method in ProjectOperationsProxy
getExecTools() - Method in ProjectOperationsProxy
Tools to deal with out-of-process, non-JVM, executables.
getExecutable() - Method in AbstractBaseToolExtension
A provider for a resolved executable.
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.
getFromCache(String, boolean, Downloader) - Method in ArtifactDownloader
Creates a distribution/file it it does not exist already.
getFromCache(URI, String, String) - Method in DependencyCache
Extract an artifact from cache.
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.
getGroupProvider() - Method in ProjectOperationsProxy
Lazy-evaluated project group.https://gitlab.com/ysb33rOrg/grolifant/-/jobs/3248448094
getIdentifier() - Method in AbstractCloudGit
Returns an identifier of an instance in the repository.
getJvmTools() - Method in ProjectOperationsProxy
Tools for working with JVMs
getLocationPropertiesFile() - Method in AbstractWrapperCacheBinaryTask
getName() - Method in AbstractCloudGit
Obtains the name of the Git service.
getName() - Method in ScriptDefinition
getNameOrPath() - Method in ScriptDefinition
getOrganisation() - Method in AbstractCloudGit
Get the organisation
getPath() - Method in OperatingSystem
List of system search paths
getPath() - Method in ScriptDefinition
getPathSeparator() - Method in OperatingSystem
The character used to separate elements in a system search path
getPreArgs() - Method in AbstractCmdlineArgumentSpec
A provider to arguments that will be inserted before any supplied arguments.
getPreArgs() - Method in ScriptDefinition
A provider to arguments that will be inserted before any supplied arguments.
getProjectDir() - Method in ProjectOperationsProxy
Returns the project directory.
getProjectExtension() - Method in CombinedProjectTaskExtensionBase
If this extension is attached to a task, this point to the global project extension if it exists, other null.
getProjectName() - Method in ProjectOperationsProxy
The project name
getProjectOperations() - Method in AbstractWrapperCacheBinaryTask
getProjectOperations() - Method in AbstractWrapperGeneratorTask
getProjectPath() - Method in ProjectOperationsProxy
Get project path.
getProjectRootDir() - Method in ProjectOperationsProxy
Returns the root directory of the project.
getProjectTools() - Method in ProjectOperationsProxy
Tools to deal with project & configuration specifics down to Gradle 4.0.
getPropertiesDescription() - Method in AbstractWrapperCacheBinaryTask
Obtains a description to be added to the cached binary properties file.
getPropertyProvider() - Method in ProjectOperationsProxy
getProviders() - Method in ProjectOperationsProxy
A reference to the provider factory.
getProviderTools() - Method in ProjectOperationsProxy
Tools to deal with provider down to Gradle 4.0.
getRepository() - Method in AbstractCloudGit
Get the repository
getRepositoryTools() - Method in ProjectOperationsProxy
Tools for dealing with repositories.
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.
getSdkManCandidateName() - Method in AbstractDistributionInstaller
SDKman candidate name for distribution.
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
getSingleFile(String) - Method in AbstractSingleFileInstaller
Returns the path to the terraform executable.
getSingleFileName() - Method in AbstractSingleFileInstaller
Gets the name of the single file as it should be on local disk
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
getStringTools() - Method in ProjectOperationsProxy
Tools for dealing with conversions of various objects into string or lists of strings.
getTask() - Method in CombinedProjectTaskExtensionBase
Task this extension is attached to.
getTasks() - Method in ProjectOperationsProxy
Utilities for working with tasks in a consistent manner across Gradle versions.
getTokenValuesAsMap() - Method in AbstractWrapperGeneratorTask
If the default of org.apache.tools.ant.filters.ReplaceTokens is used, this method will return the collection of tokens.
getVersionProvider() - Method in ProjectOperationsProxy
Lazy-evaluated project version.
getWindowsExtensionSearchOrder() - Method in AbstractBaseToolExtension
The order in which extensions will be checked for locating an executable on Windows.
getWrapperDestinationDirProvider() - Method in AbstractWrapperGeneratorTask
Directory for writing wrapper files to.
GitHubArchive - Class in org.ysb33r.grolifant.api.core.git
Describes a GitHub archive.
GitHubArchive(ProjectOperations) - Constructor in GitHubArchive
GitLabArchive - Class in org.ysb33r.grolifant.api.core.git
Describes a Gitlab archive.
GitLabArchive(ProjectOperations) - Constructor in GitLabArchive
GitRepoArchiveDownloader - Class in org.ysb33r.grolifant.api.core.git
Downloads an archive of a Git repository.
GitRepoArchiveDownloader(CloudGitDescriptor, ProjectOperations) - Constructor in GitRepoArchiveDownloader
Download archive from Git Cloud provider.
gradleProperty(Object, boolean) - Method in ProjectOperationsProxy
Creates a provider to a project property.
gzipResource(Object) - Method in ProjectOperationsProxy
Creates resource that points to a gzip compressed file at the given path.

H

hasCredentials() - Method in AbstractAuthenticationSupportedRepository
Check is any credentials has been accessed.
hashUri(URI) - Method in StringToolsProxy
Creates a SHA-256 has of a URI.

I

ignoreEmptyDirectories(TaskInputs, Object) - Method in TaskToolsProxy
This is similar to putting both a SkipWhenEmpty and a org.gradle.api.tasks.IgnoreEmptyDirectories annotation on a property, but it deals with both backwards and forward compatibility around Gradle 6.8.
INSTANCE - Field in Windows
IS_MACOSX - Field in AbstractDistributionInstaller
IS_WINDOWS - Field in AbstractDistributionInstaller
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.
isTaskProvider(Object) - Method in TaskToolsProxy
Whether this is a {@code TaskProvider
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 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.
listDirs(File) - Method in AbstractDistributionInstaller
Provides a list of directories below an unpacked distribution
listDirs(File) - Method in FileSystemOperationsProxy
Provides a list of directories below another directory
loadPropertiesFromResource(String) - Method in ResourceUtils
Loads properties from a resource file.
loadTextFromResource(String) - Method in ResourceUtils
Loads a resource text file into memory.

M

MacOsX - Class in org.ysb33r.grolifant.api.core.os
MacOSX implementation of OperatingSystem.
markIgnoreEmptyDirectories(TaskInputFilePropertyBuilder) - Method in TaskToolsProxy
Marks an input property to ignore empty directories.

N

needsSpecificGrolifantLibrary(String) - Method in NotSupportedException
NetBSD - Class in org.ysb33r.grolifant.api.core.os
NetBSD implementation of OperatingSystem.
noGlobalExecSearch - Field in AbstractBaseToolExtension
noProjectExtension() - Method in AbstractBaseToolExtension
Pass to the task constructor when no project extension will be available or required.
NotSupportedException - Class in org.ysb33r.grolifant.api.errors
Feature is not supported on this version of Gradle.

O

objectFactory - Field in ProviderToolsProxy
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
order(PropertyResolveOrder) - Method in PropertyResolver
Change the existing property order
OS_ARCH - Field in OperatingSystem
OS_NAME - Field in OperatingSystem
OS_VERSION - Field in OperatingSystem

P

packageNameFromUri(URI) - Method in StringToolsProxy
Get final package or directory name from a URI
PRE_4_10 - Field in LegacyLevel
PRE_4_1 - Field in LegacyLevel
PRE_4_2 - Field in LegacyLevel
PRE_4_3 - Field in LegacyLevel
PRE_4_5 - Field in LegacyLevel
PRE_4_6 - Field in LegacyLevel
PRE_4_7 - 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_2 - Field in LegacyLevel
PRE_5_5 - Field in LegacyLevel
PRE_5_6 - Field in LegacyLevel
PRE_6_0 - Field in LegacyLevel
PRE_6_1 - Field in LegacyLevel
PRE_6_4 - Field in LegacyLevel
PRE_6_5 - Field in LegacyLevel
PRE_6_6 - Field in LegacyLevel
PRE_6_8 - Field in LegacyLevel
PRE_7_0 - Field in LegacyLevel
PRE_7_1 - Field in LegacyLevel
PRE_8_0 - Field in LegacyLevel
PROJECT_SYSTEM_ENV - Field in PropertyResolver
projectDir - Field in FileSystemOperationsProxy
The project directory.
projectDirPath - Field in FileSystemOperationsProxy
The project directory as java.nio.file.Path.
projectOperations - Field in AbstractDistributionInstaller
Project operations that can used during downloading.
projectOperations - Field in ProjectToolsProxy
projectOperations - Field in TaskToolsProxy
ProjectOperationsProxy - Class in org.ysb33r.grolifant.loadable.core
ProjectOperationsProxy(Project) - Constructor in ProjectOperationsProxy
ProjectToolsProxy - Class in org.ysb33r.grolifant.loadable.core
Authors:
Schalk W.
ProjectToolsProxy(ProjectOperations, Project) - Constructor in ProjectToolsProxy
property(Class<T>, Provider<T>) - Method in ProviderToolsProxy
Creates a Property instance with a default value
PropertyResolver - Class in org.ysb33r.grolifant.api.core.resolvers
Resolves properties in a certain i.e. like SpringBoot, but less functionality to suite Gradle context.
PropertyResolver(ProjectOperations) - Constructor in PropertyResolver
Creates a property resolver with a custom resolve order
provide(String, String, PropertyResolveOrder, boolean) - Method in PropertyResolver
Gets a provider to a property using a specific resolve order.
provideAtConfiguration(String, String) - Method in PropertyResolver
Gets a provider to a property that is safe to use at configuration-time.
providerFactory - Field in FileSystemOperationsProxy
Provider factory
providerFactory - Field in ProviderToolsProxy
providerFactory - Field in TaskToolsProxy
ProviderToolsProxy - Class in org.ysb33r.grolifant.loadable.core
Common code code org.ysb33r.grolifant.api.core.ProviderTools.
ProviderToolsProxy(ProviderFactory, ObjectFactory) - Constructor in ProviderToolsProxy

Q

R

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 FileSystemOperationsProxy
Returns the relative path from the given path to the project directory.
relativePathToRootDir(Object) - Method in FileSystemOperationsProxy
Returns the relative path from the given path to the root project directory.
relativeRootPath(Object) - Method in FileSystemOperationsProxy
Returns the relative path from the root project directory to the given path.
resolvedExecutableVersion() - Method in AbstractBaseToolExtension
If configured by version returns that, otherwise it might run the executable to obtain the version.
resolveDistributionLocationForVersion(String) - Method in AbstractDistributionInstaller
Resolves distribution location by looking in various locations.
resolveExecutable() - Method in AbstractBaseToolExtension
Resolves an executable to a physical local file location.
resolveExecutable() - Method in AbstractToolExtension
resolveFilesFromCopySpec(CopySpec) - Method in FileSystemOperationsProxy
Given a {@Link CopySpec}, resolve all of the input files in to a collection.
resolveProperty(Object, Object, boolean) - Method in ProjectOperationsProxy
Searches by Gradle property, then system property and finally by environment variable using the PropertyResolver convention.
ResourceAccessException - Class in org.ysb33r.grolifant.api.errors
Thrown when there are sissues loading resources from the classpath.
ResourceUtils - Class in org.ysb33r.grolifant.api.core
Helps with loading specific resources
rootDir - Field in FileSystemOperationsProxy
The root project directory.
rootDirPath - Field in FileSystemOperationsProxy
The project root directory as java.nio.file.Path.
runExecutableAndReturnVersion() - Method in AbstractBaseToolExtension
Runs the executable and returns the version.

S

safeUri(URI) - Method in StringToolsProxy
Create a URI where the user/password is masked out.
ScriptDefinition - Class in org.ysb33r.grolifant.api.core.executable
Defines a base class for implementing a script definition.
ScriptDefinition(ProjectOperations) - Constructor in ScriptDefinition
setArgs(List<String>) - Method in AbstractCmdlineArgumentSpec
Replace current arguments with a new set.
setBranch(Object) - Method in AbstractCloudGit
Set the branch.
setChecksum(String) - Method in AbstractDistributionInstaller
Set a checksum that needs to be verified against downloaded archive
setCommit(Object) - Method in AbstractCloudGit
Set the commit to use.
setDeleteTemplatesAfterUsage(boolean) - Method in AbstractWrapperGeneratorTask
Whether templates should be deleted after usage.
setDownloadRoot(Object) - Method in AbstractDistributionInstaller
Sets a download root directory for the distribution.
setDownloadRoot(File) - Method in DependencyCache
Sets a root directory for the cache.
setDownloadRoot(File) - Method in GitRepoArchiveDownloader
Sets a download root directory for the distribution.
setExecutableVersionProvider(Provider<String>) - Method in AbstractBaseToolExtension
Overrides the default way or determining what the version is of a tool.
setLocationPropertiesFile(Object) - Method in AbstractWrapperCacheBinaryTask
setName(Object) - Method in ScriptDefinition
setOrganisation(Object) - Method in AbstractCloudGit
Set the organisation.
setPath(Object) - Method in ScriptDefinition
setRepository(Object) - Method in AbstractCloudGit
Set the repository
setSdkManCandidateName(String) - Method in AbstractDistributionInstaller
Set candidate name for SdkMan if the latter should be searched for installed versions
setTag(Object) - Method in AbstractCloudGit
Set the tag.
setWindowsExtensionSearchOrder(String) - Method in AbstractBaseToolExtension
setWrapperDestinationDirectory(Object) - Method in AbstractWrapperGeneratorTask
Sets the wrapper destination directory
SimplePasswordCredentials - Class in org.ysb33r.grolifant.api.core.repositories
Simple memory-based implementation of password credentials.
Solaris - Class in org.ysb33r.grolifant.api.core.os
stringize(Collection<?>) - Method in StringToolsProxy
Converts a collection of most things to a list of strings.
stringizeDropNull(Collection<?>) - Method in StringToolsProxy
Like stringize, but drops any nulls, or empty instances of Provider and java.util.Optional.
stringizeOrNull(Object) - Method in StringToolsProxy
Like stringize, but returns null rather than throwing an exception, when item is null, an empty {@Link Provider} or an empty java.util.Optional.
StringToolsProxy - Class in org.ysb33r.grolifant.loadable.core
StringToolsProxy(ProviderFactory) - Constructor in StringToolsProxy
SYSTEM_ENV_PROPERTY - Field in PropertyResolver
systemProperty(Object, boolean) - Method in ProjectOperationsProxy
Creates a provider to a system property.

T

tarTree(Object) - Method in ProjectOperationsProxy
Returns a TAR tree presentation
taskize(Iterable<Object>) - Method in TaskToolsProxy
Resolves a list of many objects to tasks items to a provider of tasks.
taskProviderFrom(Object) - Method in TaskToolsProxy
Creates a basic task Provider instance from an object.
tasks - Field in TaskToolsProxy
TaskToolsProxy - Class in org.ysb33r.grolifant.loadable.core
Non-Gradle API-specific common code from org.ysb33r.grolifant.api.core.TaskTools.
TaskToolsProxy(ProjectOperations, Project) - Constructor in TaskToolsProxy
ToolWrapper - Class in org.ysb33r.grolifant.api.core.wrappers
Implementation utilities for creating tool wrappers
ToolWrapper(ProjectOperations) - Constructor in ToolWrapper
toSafeFileName(String) - Method in FileSystemOperationsProxy
Converts a string into a string that is safe to use as a file name.
toSafePath(String) - Method in FileSystemOperationsProxy
Converts a collection of String into a java.nio.file.Path with all parts guarantee to be safe file parts
toString() - Method in AbstractCloudGit
Content as a string
toString() - Method in OperatingSystem
Stringize implementation

U

UnexpectedNullException - Class in org.ysb33r.grolifant.api.errors
Can be thrown when null is encountered in an unexpected location and the system wants to deal with it more gracefully than a NullPointerException.
UnexpectedNullException(String, Throwable) - Constructor in UnexpectedNullException
unpack(File, File) - Method in AbstractDistributionInstaller
Unpacks a downloaded archive.
unpackDMG(File, File) - Method in AbstractDistributionInstaller
Provides the capability of unpacking an MSI file under Mac OSX by calling out to hdiutil.
unpackMSI(File, File, Map<String, String>) - Method in AbstractDistributionInstaller
Provides the capability of unpacking an MSI file under Windows by calling out to msiexec.
unsetNonPaths() - Method in AbstractBaseToolExtension
This is used when path or search path is set to unset other search mechanisms.
unsetNonPaths() - Method in AbstractToolExtension
This is used when path or search path is set to unset other search mechanisms.
unsetPaths() - Method in AbstractBaseToolExtension
Unset both the fixed path and search path.
UnsupportedConfigurationException - Class in org.ysb33r.grolifant.api.errors
Thrown when a type instance cannot be converted to a Gradle-specific type instance.
UnsupportedConfigurationException(String, Throwable) - Constructor in UnsupportedConfigurationException
updateFileProperty(Property<File>, Object) - Method in FileSystemOperationsProxy
Updates a Property<File>.
updateFileProperty(Provider<File>, Object) - Method in ProjectOperationsProxy
Updates a file provider.
updateStringProperty(Provider<String>, Object) - Method in ProjectOperationsProxy
Updates a string provider.
updateStringProperty(Property<String>, Object) - Method in StringToolsProxy
Updates a Property<String>.
urize(Object) - Method in StringToolsProxy
Attempts to convert object to a URI.
useWrapperTemplatesInResources(String, Map<String, String>) - Method in AbstractWrapperGeneratorTask
Use wrapper templates from resources classpath

V

verifyDistributionRoot(File) - Method in AbstractDistributionInstaller
Validates that the unpacked distribution is good.
verifyDistributionRoot(File) - Method in AbstractSingleFileInstaller
Validates that the downloaded file is good.
verifyDownloadChecksum(String, File, String) - Method in AbstractDistributionInstaller
Verifies the checksum (if provided) of a newly downloaded distribution archive.
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 - Field in AbstractToolExtension
Version(String, Version.Parts) - Constructor in Version
Creates an instance of a Version object.

W

Windows - Class in org.ysb33r.grolifant.api.core.os
Windows implementation of OperatingSystem.
Windows() - Constructor in Windows
wrapperCopyAction(Collection<File>, File, String, String, Map<String, String>) - Method in ToolWrapper
Configures an action for transforming a collection files using Ant-style replace tokens filter.
WrapperCreationException - Class in org.ysb33r.grolifant.api.errors
Thrown when a tool wrapper script cannot be created.
writePropertiesShellFile(File, Map<String, String>) - Method in AbstractWrapperCacheBinaryTask
Write a shell file of properties.
writeWindowsPropertiesBatFile(File, Map<String, String>) - Method in AbstractWrapperCacheBinaryTask
Writes a Windows batch file of property values that can be included by a wrapper script.

X

Y

Z

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 _