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

AbstractCacheBinaryTask - Class in org.ysb33r.grolifant.api.v4.wrapper.script
Base class for tasks that cache arbitrary binaries.
AbstractCacheBinaryTask(String) - Constructor in AbstractCacheBinaryTask
Parameters:
locationPropertiesDefaultName - The default name for the location properties file.
AbstractCloudGit - Class in org.ysb33r.grolifant.api.v4.git
Base class for implementing common functionality for GitLab & GitHub
AbstractCloudGit(String, String) - Constructor in AbstractCloudGit
Constructs a representation of a cloud Git provider
AbstractScriptWrapperTask - Class in org.ysb33r.grolifant.api.v4.wrapper.script
An abstract base class for creating tasks that create script wrappers.
AbstractScriptWrapperTask() - Constructor in AbstractScriptWrapperTask
appRunnerSpec() - Method in DefaultExecTools
Creates a org.ysb33r.grolifant.api.core.executable.AppRunnerSpec.
ArtifactAttributeContainer - Class in org.ysb33r.grolifant.api.v4.artifacts
Implementation of AttributeContainer
asConfiguration(Project, Object) - Method in ConfigurationUtils
Tries to resolve a configuration from the provided object.
asConfigurations(Project, Iterable<?>) - Method in ConfigurationUtils
Converts a collection of items to configurations.
attribute(Attribute<T>, T) - Method in ArtifactAttributeContainer
Sets an attribute value.
authentication(Action<? super AuthenticationContainer>) - Method in AuthenticationSupportedRepository
authenticationContainer() - Method in DefaultRepositoryTools
Creates an instance of an AuthenticationContainer
AuthenticationSupportedRepository - Class in org.ysb33r.grolifant.api.v4.repositories
Base class for creating repository types that optionally support authentication.
AuthenticationSupportedRepository(Project) - Constructor in AuthenticationSupportedRepository
Base class constructor
AuthenticationSupportedRepositoryContent - Interface in org.ysb33r.grolifant.api.v4.repositories
Configures content for an authentication-supported repository.

B

buildDirDescendant(Object) - Method in DefaultProjectOperations
Safely resolve the stringy items as a path below build directory.

C

ClosureUtils - Class in org.ysb33r.grolifant.api.v4
Methods for dealing with closures
CloudGitConfigurator - Interface in org.ysb33r.grolifant.api.v4.git
A description of a Git repository from a cloud provider
CloudGitDescriptor - Interface in org.ysb33r.grolifant.api.v4.git
A description of a Git repository from a cloud provider
commandEntryPoint() - Method in DefaultExecTools
Returns an implementation that is optimised for the running version of Gradle.
ConfigurationUtils - Class in org.ysb33r.grolifant.api.v4
Utilities to deal with Configuration instances.
configureItem(Object, Closure) - Method in ClosureUtils
Configure this item using a closure
contains(Attribute<?>) - Method in ArtifactAttributeContainer
Tells if a specific attribute is found in this container.
content(Action) - Method in AuthenticationSupportedRepository
This is currently a NOOP.
content(Action) - Method in AuthenticationSupportedRepositoryContent
copy(Action<? super CopySpec>) - Method in DefaultFileSystemOperations
Copies the specified files.
copySpec() - Method in DefaultProjectOperations
copyTo(ArtifactAttributeContainer) - Method in ArtifactAttributeContainer
credentials(Class<T>, Action<? super T>) - Method in AuthenticationSupportedRepository

D

DefaultExecTools - Class in org.ysb33r.grolifant.loadable.v4
DefaultExecTools(ProjectOperations, Project) - Constructor in DefaultExecTools
DefaultFileSystemOperations - Class in org.ysb33r.grolifant.loadable.v4
Implements org.ysb33r.grolifant.api.core.FileSystemOperations for Gradle 4.x.
DefaultFileSystemOperations(Project) - Constructor in DefaultFileSystemOperations
DefaultJvmTools - Class in org.ysb33r.grolifant.loadable.v4
DefaultJvmTools(ProjectOperations, Project) - Constructor in DefaultJvmTools
DefaultProjectOperations - Class in org.ysb33r.grolifant.loadable.v4
An extension that can be added to a project by a plugin to aid in compatibility
DefaultProjectOperations(Project) - Constructor in DefaultProjectOperations
Constructor that sets up a number of methods to be compatible across a wide range Gradle releases.
DefaultProjectTools - Class in org.ysb33r.grolifant.loadable.v4
@since 2.0
DefaultProjectTools(Project) - Constructor in DefaultProjectTools
DefaultProviderTools - Class in org.ysb33r.grolifant.loadable.v4
Safely deal with Providers down to Gradle 4.0.
DefaultProviderTools(ProviderFactory) - Constructor in DefaultProviderTools
DefaultRepositoryTools - Class in org.ysb33r.grolifant.loadable.v4
Providers repository tools that is compatible with Gradle 4.x
DefaultStringTools - Class in org.ysb33r.grolifant.loadable.v4
Implements a set of string tools for Gradle 4.0+
DefaultTaskTools - Class in org.ysb33r.grolifant.loadable.v4
DefaultTaskTools(Project) - Constructor in DefaultTaskTools
delete(Action<? super DeleteSpec>) - Method in DefaultFileSystemOperations
Deletes the specified files.
DependencyCache - Class in org.ysb33r.grolifant.api.v4.artifacts
A custom implementation of a dependency cache when the one from Gradle might not be directly accessible.
DependencyCache.CacheRefresh - Interface in org.ysb33r.grolifant.api.v4.artifacts
DependencyCache.PostDownloadProcessor - Interface in org.ysb33r.grolifant.api.v4.artifacts
DependencyCache(Project, String, String, DependencyCache.CacheRefresh, CheckSumVerification, DependencyCache.PostDownloadProcessor) - Constructor in DependencyCache
Parameters:
project - Project context.
downloader(String) - Method in DefaultExecTools
Creates a new downloader for downloading packages / distributions.

E

emptyFileCollection() - Method in DefaultFileSystemOperations
Creates an empty file collection.
environmentVariable(Object, boolean) - Method in DefaultProjectOperations
exec() - Method in AbstractCacheBinaryTask
exec() - Method in AbstractScriptWrapperTask
execSpec() - Method in DefaultExecTools
Returns something that looks like an ExecSpec.

F

file(Object) - Method in DefaultFileSystemOperations
Converts a file-like object to a File instance with project context.
fileize(Iterable<Object>) - Method in DefaultProjectOperations
Converts a collection of file-like objects to a a list of File instances with project context.
fileize(Project, Iterable<Object>) - Method in FileUtils
Converts a collection of file-like objects to a a list of File instances with project context.
fileizeDropNull(Project, Iterable<Object>) - Method in FileUtils
Converts a collection of file-like objects to a a list of File instances with project context.
fileizeOrNull(Project, Object) - Method in FileUtils
Converts a file-like object to a File instance with project context.
fileOrNull(Object) - Method in DefaultFileSystemOperations
Similar to {@Link #file}, but does not throw an exception if the object is null or an empty provider.
files(Object) - Method in DefaultProjectOperations
filesFromCopySpec(CopySpec) - Method in FileUtils
Returns the file collection that a CopySpec describes.
fileTree(Object) - Method in DefaultProjectOperations
Creates a new ConfigurableFileTree.
FileUtils - Class in org.ysb33r.grolifant.api.v4
Various file utilities.
flatMap(Provider<T>, Transformer<? extends Provider<? extends S>, ? super T>) - Method in DefaultProviderTools
Allow flatMap functionality for providers even before Gradle 5.0.
FreeBSD - Class in org.ysb33r.grolifant.api.v4.os
FreeBSD implementation of OperatingSystem.

G

GenericBSD - Class in org.ysb33r.grolifant.api.v4.os
Abstract base class for BSD-based operating systems.
GenericBSD() - Constructor in GenericBSD
GenericUnix - Class in org.ysb33r.grolifant.api.v4.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 AbstractCacheBinaryTask
Returns additional properties to be added to the cached binary properties file.
getArch() - Method in GenericUnix
Architecture underlying the operating system
getArch() - Method in Windows
Architecture underlying the operating system
getArchiveOperations() - Method in DefaultProjectOperations
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.
getArchiveUri() - Method in CloudGitDescriptor
Obtains the URI for the archive of the repository.
getArchStr() - Method in GenericUnix
Implementation-specific free-form architecture string.
getArchStr() - Method in Solaris
Solaris-specific architecture strings.
getArchStr() - Method in Windows
Architecture underlying the operating system
getAttribute(Attribute<T>) - Method in ArtifactAttributeContainer
Returns the value of an attribute found in this container, or null if this container doesn't have it.
getAttributes() - Method in ArtifactAttributeContainer
getAuthentication() - Method in AuthenticationSupportedRepository
getBeginToken() - Method in AbstractScriptWrapperTask
If the default of org.apache.tools.ant.filters.ReplaceTokens is used, this method will return the start token delimiter.
getBinaryLocation() - Method in AbstractCacheBinaryTask
Obtains location of executable binary or script
getBinaryLocationProvider() - Method in AbstractCacheBinaryTask
Obtains location of executable binary or script
getBinaryVersion() - Method in AbstractCacheBinaryTask
Obtains version of binary or script
getBinaryVersionProvider() - Method in AbstractCacheBinaryTask
Obtains version of binary or script
getBuildDir() - Method in DefaultProjectOperations
Build directory
getCachedBinaryProperties() - Method in AbstractCacheBinaryTask
getCredentials(Class<T>) - Method in AuthenticationSupportedRepository
getEndToken() - Method in AbstractScriptWrapperTask
If the default of org.apache.tools.ant.filters.ReplaceTokens is used, this method will return the end token delimiter.
getExecOperations() - Method in DefaultProjectOperations
getExecutableName(String) - Method in GenericUnix
Given a base string, returns the Unix 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 Windows
getFromCache(URI, String, String) - Method in DependencyCache
Extract an artifact from cache.
getGroupProvider() - Method in DefaultProjectTools
Lazy-evaluated project group.
getIdentifier() - Method in AbstractCloudGit
Returns an identifier of an instance in the repository.
getLocationPropertiesFile() - Method in AbstractCacheBinaryTask
getName() - Method in AbstractCloudGit
Obtains the name of the Git service.
getName() - Method in CloudGitDescriptor
Obtains the name of the Git service.
getOrElse(Provider<T>, T) - Method in DefaultProviderTools
Allow getOrElse functionality for providers even before Gradle 4.3.
getOrganisation() - Method in AbstractCloudGit
Get the organisation
getOrganisation() - Method in CloudGitDescriptor
Organisation on Git cloud service
getOrNull(Provider<T>) - Method in DefaultProviderTools
Allow getOrElse functionality for providers even before Gradle 4.3.
getPkgName(URI) - Method in UriUtils
Get final package or directory name from a URI
getProjectCacheDir() - Method in DefaultProjectOperations
Returns the project cache dir
getProjectOperations() - Method in AbstractCacheBinaryTask
getPropertiesDescription() - Method in AbstractCacheBinaryTask
Obtains a description to be added to the cached binary properties file.
getPropertyProvider() - Method in DefaultProjectOperations
getRepository() - Method in AbstractCloudGit
Get the repository
getRepository() - Method in CloudGitDescriptor
Repository on Git cloud service
getScriptName(String) - Method in GenericUnix
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 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
getStaticLibraryName(String) - Method in GenericUnix
Returns OS-specific static library name
getStaticLibraryName(String) - Method in Windows
Returns OS-specific static library name
getTokenValuesAsMap() - Method in AbstractScriptWrapperTask
If the default of org.apache.tools.ant.filters.ReplaceTokens is used, this method will return the collection of tokens.
getVersionProvider() - Method in DefaultProjectTools
Lazy-evaluated project version.
getWrapperDestinationDir() - Method in AbstractScriptWrapperTask
Directory for writing wrapper files to.
getWrapperDestinationDirProvider() - Method in AbstractScriptWrapperTask
Directory for writing wrapper files to.
GitHubArchive - Class in org.ysb33r.grolifant.api.v4.git
Describes a GitHub archive.
GitHubArchive() - Constructor in GitHubArchive
GitLabArchive - Class in org.ysb33r.grolifant.api.v4.git
Describes a GitLab archive.
GitLabArchive() - Constructor in GitLabArchive
GitRepoArchiveDownloader - Class in org.ysb33r.grolifant.api.v4.git
Downloads an archive of a Git repository.
GitRepoArchiveDownloader(CloudGitDescriptor, Project) - Constructor in GitRepoArchiveDownloader
gradleProperty(Object, boolean) - Method in DefaultProjectOperations

H

hasCredentials() - Method in AuthenticationSupportedRepository
Check is any credentials has been accessed.
hashURI(URI) - Method in DefaultStringTools
Creates a SHA-256 has of a URI.
hashURI(URI) - Method in UriUtils
Creates a SHA-256 has of a URI.

I

INSTANCE - Field in Windows
isEmpty() - Method in ArtifactAttributeContainer
Returns true if this container is empty.
isFreeBSD() - Method in FreeBSD
isLinux() - Method in Linux
Confirms that this is an OS representation of a Linux operating system.
isMacOsX() - Method in MacOsX
Confirms that this is an OS representation of a Mac operating system.
isNetBSD() - Method in NetBSD
Confirms that this is an OS representation NetBSD.
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.
isWindows() - Method in Windows
Confirms this is a representation of the Microsoft Windows operating system.

J

javaExecSpec() - Method in DefaultJvmTools
Creates a JavaExecSpec.
jvmAppRunnerSpec() - Method in DefaultJvmTools
Creates a org.ysb33r.grolifant.api.core.jvm.JvmAppRunnerSpec.

K

keySet() - Method in ArtifactAttributeContainer
Returns the set of attribute keys of this container.

L

Linux - Class in org.ysb33r.grolifant.api.v4.os
Linux implementation of OperatingSystem.
listDirs(File) - Method in DefaultFileSystemOperations
Provides a list of directories below another directory
listDirs(File) - Method in FileUtils
Provides a list of directories below another directory

M

MacOsX - Class in org.ysb33r.grolifant.api.v4.os
MacOSX implementation of OperatingSystem.
map(Provider<IN>, Transformer<OUT, IN>) - Method in DefaultProviderTools
Maps one provider to another.
MapUtils - Class in org.ysb33r.grolifant.api.v4
Various utilities dealing with key-value pairs.

N

named(String, Class<T>, Action<T>) - Method in DefaultTaskTools
Configures a task, preferably in a lazy-manner.
NetBSD - Class in org.ysb33r.grolifant.api.v4.os
NetBSD implementation of OperatingSystem.

O

order(PropertyResolveOrder) - Method in PropertyResolver
Change the existing property order
orElse(Provider<T>, Provider<? extends T>) - Method in DefaultProviderTools
Allow orElse functionality prior to Gradle 5.6.

P

packageNameFromUri(URI) - Method in DefaultStringTools
Get final package or directory name from a URI
parseVersionFromOutput(Iterable<String>, File, Function<String, String>, Action<ExecSpec>) - Method in DefaultExecTools
Simplifies running an executable to obtain a version.
process(File) - Method in DependencyCache.PostDownloadProcessor
PROJECT_SYSTEM_ENV - Field in PropertyResolver
projectCacheDirFor(Project) - Method in FileUtils
Returns the project cache directory for the given project.
PropertyResolver - Class in org.ysb33r.grolifant.api.v4
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.
provider(Callable<? extends T>) - Method in DefaultProjectOperations
Returns a provider.

Q

R

refresh(URI, File) - Method in DependencyCache.CacheRefresh
register(String, Class<T>, Action<T>) - Method in DefaultTaskTools
Registers a task in a lazy-manner.
relativePath(Object) - Method in DefaultFileSystemOperations
Returns the relative path from the project directory to the given path.
relativeRootPath(Object) - Method in DefaultFileSystemOperations
Returns the relative path from the root project directory to the given path.
resolveClassLocation(Class) - Method in FileUtils
Returns the classpath location for a specific class

S

SAFE_FILENAME_REGEX - Field in FileUtils
safeUri(URI) - Method in DefaultStringTools
Create a URI where the user/password is masked out.
safeUri(URI) - Method in UriUtils
Create a URI where the user/password is masked out.
setBaseUri(URI) - Method in CloudGitConfigurator
setBranch(Object) - Method in AbstractCloudGit
Set the branch.
setBranch(Object) - Method in CloudGitConfigurator
Set the branch.
setCommit(Object) - Method in AbstractCloudGit
Set the commit to use.
setCommit(Object) - Method in CloudGitConfigurator
Set the commit to use.
setDeleteTemplatesAfterUsage(boolean) - Method in AbstractScriptWrapperTask
Whether templates should be deleted after usage.
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.
setLocationPropertiesFile(Object) - Method in AbstractCacheBinaryTask
setOrganisation(Object) - Method in AbstractCloudGit
Set the organisation.
setOrganisation(Object) - Method in CloudGitConfigurator
Set the organisation.
setRepository(Object) - Method in AbstractCloudGit
Set the repository
setRepository(Object) - Method in CloudGitConfigurator
Set the repository
setTag(Object) - Method in AbstractCloudGit
Set the tag.
setTag(Object) - Method in CloudGitConfigurator
Set the tag.
setWrapperDestinationDirectory(Object) - Method in AbstractScriptWrapperTask
Sets the wrapper destination directory
SimplePasswordCredentials - Class in org.ysb33r.grolifant.api.v4.repositories
Simple memory-based implementation of password credentials.
Solaris - Class in org.ysb33r.grolifant.api.v4.os
stringize(Iterable<?>) - Method in DefaultStringTools
Converts a collection of most things to a list of strings.
stringize(Iterable<?>) - Method in StringUtils
Converts a collection of most things to a list of strings.
stringizeDropNull(Iterable<?>) - Method in DefaultStringTools
Like stringize, but drops any nulls, or empty instances of Provider and java.util.Optional.
stringizeDropNull(Iterable<?>) - Method in StringUtils
Like stringize, but drops any nulls, or empty instances of Provider and java.util.Optional
stringizeOrNull(Object) - Method in DefaultStringTools
Like stringize, but returns null rather than throwing an exception, when item is null, an empty {@Link Provider} or an empty java.util.Optional.
stringizeOrNull(Object) - Method in StringUtils
Like stringize, but returns null rather than throwing an exception, when item is null, an empty {@Link Provider} or an empty java.util.Optional.
stringizeValues(Map<String, Object>) - Method in MapUtils
Evaluates a map of objects to a map of strings.
StringUtils - Class in org.ysb33r.grolifant.api.v4
A collection of utilities for converting to strings.
sync(Action<? super CopySpec>) - Method in DefaultFileSystemOperations
Synchronizes the contents of a destination directory with some source directories and files.
SYSTEM_ENV_PROPERTY - Field in PropertyResolver
systemProperty(Object, boolean) - Method in DefaultProjectOperations

T

taskize(Iterable<Object>) - Method in DefaultTaskTools
Resolves a maany to tasks items to a provider of tasks.
taskProviderFrom(TaskContainer, ProviderFactory, Object) - Method in DefaultTaskTools
Creates a basic task Provider instance from an object.
toSafeFile(String) - Method in FileUtils
Converts a collection of String into a {@@link File} with all parts guarantee to be safe file parts
toSafeFileName(String) - Method in FileUtils
Converts a string into a string that is safe to use as a file name.
toSafePath(String) - Method in FileUtils
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

U

updateFileProperty(Provider<File>, Object) - Method in DefaultProjectOperations
Updates a file provider.
updateFileProperty(Project, Provider<File>, Object) - Method in FileUtils
Updates a Provider.
updateStringProperty(Provider<String>, Object) - Method in DefaultProjectOperations
Updates a string provider.
updateStringProperty(ProjectOperations, Provider<String>, Object) - Method in StringUtils
Updates a Provider.
UriUtils - Class in org.ysb33r.grolifant.api.v4
Dealing with URIs
urize(Object) - Method in DefaultStringTools
Attempts to convert object to a URI.
urize(Object) - Method in UriUtils
Attempts to convert object to a URI.
useWrapperTemplatesInResources(String, Map<String, String>) - Method in AbstractScriptWrapperTask
Use wrapper templates from resources classpath

V

W

whenNamed(String, Class<T>, Action<T>) - Method in DefaultTaskTools
Adds a configuration for a task, for when a task is created.
Windows - Class in org.ysb33r.grolifant.api.v4.os
Windows implementation of OperatingSystem.
Windows() - Constructor in Windows
writePropertiesShellFile(File, Map<String, String>) - Method in AbstractCacheBinaryTask
Write a shell file of properties.
writeWindowsPropertiesBatFile(File, Map<String, String>) - Method in AbstractCacheBinaryTask
Writes a Windows batch file of property values that can be included by a wrapper script.

X

Y

Z

_

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 _