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

AbstractCommandExecSpec - Class in org.ysb33r.gradle.olifant.exec
Tool execution specification aimed at command-line tools which takes a command as one of the arguments.
AbstractCommandExecSpec(Project) - Constructor in AbstractCommandExecSpec
Construct class and attach it to specific project.
AbstractCommandExecTask - Class in org.ysb33r.gradle.olifant.exec
A abstract task type for executing binaries that take a command as well as a set of command arguments.
AbstractDistributionInstaller - Class in org.ysb33r.gradle.olifant
Common functionality to be able to download a SDK and use it within Gradle
AbstractDistributionInstaller(String, String, String, Project) - Constructor in AbstractDistributionInstaller
Creates setup for installing to a local cache.
AbstractExecSpec - Class in org.ysb33r.gradle.olifant.exec
Abstract base class that implements BaseExecSpec.
AbstractExecSpec(Project) - Constructor in AbstractExecSpec
AbstractExecTask - Class in org.ysb33r.gradle.olifant.exec
A base class to use for developing execution classes for wrapping tools
AbstractExecTask() - Constructor in AbstractExecTask
Creates class and sets default environment to be that of Gradle,
AbstractScriptExecSpec - Class in org.ysb33r.gradle.olifant.exec
Tool execution specification aimed at script-line tools which takes a script as one of the arguments.
AbstractScriptExecSpec(Project) - Constructor in AbstractScriptExecSpec
Construct class and attach it to specific project.
AbstractScriptExecTask - Class in org.ysb33r.gradle.olifant.exec
A abstract task type for executing binaries that take a command as well as a set of command arguments.
AbstractToolExecSpec - Class in org.ysb33r.gradle.olifant.exec
A base class to aid plugin developers create their own ExecSpec implementations.
AbstractToolExecSpec(Project) - Constructor in AbstractToolExecSpec
Construct class and attach it to specific project.
addExecPattern(String) - Method in AbstractDistributionInstaller
Add patterns for files to be marked executable,
addExecProjectExtension(String, Project, ExecSpecInstantiator<? extends AbstractToolExecSpec>) - Method in ExtensionUtils
Adds a project extension so that specific tools can be execute in a similar manner to project.exec.

B

build(Map<String, Object>, Object) - Method in ResolvedExecutableFactory
Creates ResolvedExecutable from a specific input.
build(Map<String, Object>, Object) - Method in ResolveExecutableFromPath
Builds a path-located execution resolver.
build(Map<String, Object>, Object) - Method in ResolveExecutableInSearchPath
Creates ResolvedExecutable from a specific input.
buildCommandLine() - Method in AbstractToolExecSpec
Builds up the coomand line.

C

call(Closure) - Method in ExecProjectExtension
ChecksumFailedException - Class in org.ysb33r.gradle.olifant
Thrown when a checksum fails.
ChecksumFailedException(String, String, File, String, String) - Constructor in ChecksumFailedException
Instantiates an exception.
ClosureUtils - Class in org.ysb33r.gradle.olifant
Methods for dealing with closures
cmdArgs(Object) - Method in AbstractCommandExecSpec
Add more command-specific arguments.
cmdArgs(Object) - Method in AbstractCommandExecTask
Add more command-specific arguments.
command(Object) - Method in AbstractCommandExecSpec
Set the command to use.
command(Object) - Method in AbstractCommandExecTask
Set the command to use.
configure(Closure) - Method in AbstractToolExecSpec
Configure this spec from a closure.
configureItem(Object, Closure) - Method in ClosureUtils
Configure this item using a closure
copyTo(ProcessForkOptions) - Method in AbstractToolExecSpec
Copies options from this Spec to the given target.
copyToExecSpec(ExecSpec) - Method in AbstractToolExecSpec
Copies settings from this execution specification to a standard ExecSpec
create(Project) - Method in ExecSpecInstantiator
Instantiates an execution specification.
createExecSpec(Project) - Method in AbstractExecTask
Factory method for creating an execution specification
current() - Method in OperatingSystem
Returns a representation of the operting system that the JVM currently runs on.

D

DistributionFailedException - Class in org.ysb33r.gradle.olifant
Thrown when a distribution failed to unpack correctly or does not meet specific criteria.
DistributionFailedException(String) - Constructor in DistributionFailedException
Instantiates exception

E

env - Field in AbstractExecSpec
environment(String, Object) - Method in AbstractExecSpec
Add additional environment variable for use with the process.
environment(String, Object) - Method in AbstractExecTask
Add additional environment variable for use with the process.
errorOutput(OutputStream) - Method in AbstractExecSpec
Set the stream where error output should be sent to for this process when executing.
errorOutput(OutputStream) - Method in AbstractExecTask
Set the stream where error output should be sent to for this process when executing.
exeArgs(Object) - Method in AbstractExecTask
Add more tool-specific arguments.
exeArgs(Object) - Method in AbstractToolExecSpec
Add more tool-specific arguments.
exec() - Method in AbstractExecTask
Runs this process against an internal execution specification.
ExecProjectExtension - Class in org.ysb33r.gradle.olifant.internal.execspec
@since 0.3
ExecProjectExtension(Project, ExecSpecInstantiator<T>) - Constructor in ExecProjectExtension
ExecSpecInstantiator - Interface in org.ysb33r.gradle.olifant.exec
Factory interface for instantiating execution specification.
executable(Map<String, Object>) - Method in AbstractToolExecSpec
Use a key-value approach to setting the executable.
execute(T) - Method in ExecProjectExtension
ExtensionUtils - Class in org.ysb33r.gradle.olifant
Utilities to deal with Gradle extensions and project extensions

F

findAllInPath(String) - Method in OperatingSystem
Find all files in system search path of a certain name.
findInPath(String) - Method in OperatingSystem
Locates the given executable in the system path.
FreeBSD - Class in org.ysb33r.gradle.olifant.internal.os
FreeBSD implementation of OperatingSystem.

G

GenericBSD - Class in org.ysb33r.gradle.olifant.internal.os
Abstract base class for BSD-based operating systems.
GenericBSD() - Constructor in GenericBSD
GenericUnix - Class in org.ysb33r.gradle.olifant.internal.os
Generic Unix-like implementation of OperatingSystem.
GenericUnix() - Constructor in GenericUnix
getAndVerifyDistributionRoot(File, String) - Method in AbstractDistributionInstaller
Validates that the unpacked distribution is good.
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
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
getCmdArgs() - Method in AbstractCommandExecSpec
Any arguments specific to the command.
getCmdArgs() - Method in AbstractCommandExecTask
Any arguments specific to the command in use
getCommand() - Method in AbstractCommandExecSpec
The script used in this specification as a String.
getCommand() - Method in AbstractCommandExecTask
The command used in this specification as a String.
getCommandLine() - Method in AbstractExecTask
Returns the full script line, including the executable, it's specific arguments, tool specific instruction and the arguments spefic to the instruction.
getCommandLine() - Method in AbstractToolExecSpec
Returns the full script line, including the executable, it's specific arguments, tool specific instruction and the arguments spefic to the instruction.
getDistributionRoot() - Method in AbstractDistributionInstaller
Returns the location which is the top or home folder for a distribution.
getEnvironment() - Method in AbstractExecSpec
Returns the environment to be used for the process.
getEnvironment() - Method in AbstractExecTask
Returns the environment to be used for the process.
getErrorOutput() - Method in AbstractExecSpec
Where error output is sent to during execution.
getErrorOutput() - Method in AbstractExecTask
Where error output is sent to during execution.
getExeArgs() - Method in AbstractExecTask
Any arguments specific to the tool in use
getExeArgs() - Method in AbstractToolExecSpec
Any arguments specific to the tool in use
getExecResult() - Method in AbstractExecTask
Returns the result for the execution, that was run by this task.
getExecSpec() - Method in AbstractExecTask
Provides access to the execution specification that is associated with this task
getExecutable() - Method in AbstractExecTask
The executable used in this specification as a String.
getExecutable() - Method in AbstractToolExecSpec
The executable used in this specification as a String.
getExecutable() - Method in ResolvedExecutable
Location of a tool executable.
getExecutableName(String) - Method in GenericUnix
Given a base string, returns the Unix executable name.
getExecutableName(String) - Method in OperatingSystem
Returns OS-specific decorated executable name.
getExecutableName(String) - Method in Windows
getInstructionsArgs() - Method in AbstractToolExecSpec
List of arguments specific to the tool instruction.
getLogger() - Method in AbstractDistributionInstaller
Returns the logger currently in use.
getName() - Method in OperatingSystem
The short name for the current operating system.
getPath() - Method in OperatingSystem
List of system search paths
getPathSeparator() - Method in OperatingSystem
The character used to separate elements in a system search path
getPathVar() - Method in OperatingSystem
Name of environmental variable that holds the system search path
getPathVar() - Method in Windows
Returns Windows system seach path environmental variable name.
getProject() - Method in AbstractDistributionInstaller
Returns the attached project
getResolvedExecutable() - Method in AbstractToolExecSpec
Lazy-evaluated version of the executable
getScript() - Method in AbstractScriptExecSpec
The script used in this specification as a String.
getScript() - Method in AbstractScriptExecTask
The script used in this specification as a String.
getScriptArgs() - Method in AbstractScriptExecSpec
Any arguments specific to the script.
getScriptArgs() - Method in AbstractScriptExecTask
Any arguments specific to the script in use
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
getSharedLibrarySuffix() - Method in Windows
Return Windows string that is used to suffix to shared libraries
getStandardInput() - Method in AbstractExecSpec
Where input is read from during execution.
getStandardInput() - Method in AbstractExecTask
Where input is read from during execution.
getStandardOutput() - Method in AbstractExecSpec
Where standard output is sent to during execution.
getStandardOutput() - Method in AbstractExecTask
Where standard output is sent to during execution.
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 GenericUnix
Default Unix-like string that is used to suffix to static libraries
getStaticLibrarySuffix() - Method in OperatingSystem
OS-dependent string that is used to suffix to static libraries
getStaticLibrarySuffix() - Method in Windows
Windows string that is used to suffix to static libraries
getToolExecSpec() - Method in AbstractCommandExecTask
Execution specification customised for the specific tool
getToolInstruction() - Method in AbstractCommandExecSpec
A specific instruction passed to a tool.
getToolInstruction() - Method in AbstractScriptExecSpec
A specific instruction passed to a tool.
getToolInstruction() - Method in AbstractToolExecSpec
A specific instruction passed to a tool.
getVersion() - Method in OperatingSystem
The version for the current operating system.
getWorkingDir() - Method in AbstractExecSpec
Obtain the working directory for this process.
getWorkingDir() - Method in AbstractExecTask
Obtain the working directory for this process.

H

I

ignoreExitValue(boolean) - Method in AbstractExecSpec
Determine whether the exit value should be ignored.
ignoreExitValue(boolean) - Method in AbstractExecTask
Determine whether the exit value should be ignored.
instructionArgs(Object) - Method in AbstractToolExecSpec
Add more instruction-specific arguments.
isFreeBSD() - Method in FreeBSD
isFreeBSD() - Method in OperatingSystem
Check is this is FreeBSD
isIgnoreExitValue() - Method in AbstractExecSpec
State of exit value monitoring.
isIgnoreExitValue() - Method in AbstractExecTask
State of exit value monitoring.
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
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

K

L

LegacyLevel - Class in org.ysb33r.gradle.olifant.internal
Internal used enumeration to help with logic with specific Gradle version differences.
Linux - Class in org.ysb33r.gradle.olifant.internal.os
Linux implementation of OperatingSystem.
listDirs(File) - Method in AbstractDistributionInstaller
Provides a list of directories below an unpacked distribution
locateDistributionInCustomLocation(String) - Method in AbstractDistributionInstaller
Override this method to provide alternative means to look for distributions.
log(String) - Method in ProgressLogger
Sends a progress message.

M

MacOsX - Class in org.ysb33r.gradle.olifant.internal.os
MacOSX implementation of OperatingSystem.
MapUtils - Class in org.ysb33r.gradle.olifant
Various utilities dealing with key-value pairs.

N

NetBSD - Class in org.ysb33r.gradle.olifant.internal.os
NetBSD implementation of OperatingSystem.

O

OperatingSystem - Class in org.ysb33r.gradle.olifant
OperatingSystem.Arch - Enum in org.ysb33r.gradle.olifant
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

ProgressLogger - Interface in org.ysb33r.gradle.olifant
A simple interface for logging progress to stdout.
project - Field in AbstractExecSpec

Q

R

registerExecutableKeyActions(String, ResolvedExecutableFactory) - Method in AbstractToolExecSpec
Add additional keys for methods to resolve executables.
ResolvedExecutable - Interface in org.ysb33r.gradle.olifant.exec
Holds a reference to an executable that will only be made available when explicitly called.
ResolvedExecutableFactory - Interface in org.ysb33r.gradle.olifant.exec
ResolveExecutableFromPath - Class in org.ysb33r.gradle.olifant.internal.execspec
Resolves an executable from a path.
ResolveExecutableFromPath(Project) - Constructor in ResolveExecutableFromPath
ResolveExecutableInSearchPath - Class in org.ysb33r.gradle.olifant.internal.execspec
Resolves executable by search the system path.

S

script(Object) - Method in AbstractScriptExecSpec
Set the executable to use.
script(Object) - Method in AbstractScriptExecTask
Set the script to use.
scriptArgs(Object) - Method in AbstractScriptExecSpec
Add more script-specific arguments.
scriptArgs(Object) - Method in AbstractScriptExecTask
Add more script-specific arguments.
setChecksum(String) - Method in AbstractDistributionInstaller
Set a checksum that needs to be verified against downloaded archive
setCmdArgs(Iterable<?>) - Method in AbstractCommandExecSpec
Replace the command-specific arguments with a new set.
setCmdArgs(Iterable<?>) - Method in AbstractCommandExecTask
Replace the command-specific arguments with a new set.
setCommand(Object) - Method in AbstractCommandExecSpec
Set the command to use.
setCommand(Object) - Method in AbstractCommandExecTask
Set the command to use.
setDownloadRoot(File) - Method in AbstractDistributionInstaller
Sets a download root directory for the distribution.
setEnvironment(Map<String, ?>) - Method in AbstractExecSpec
Set the environment variables to use for the process.
setEnvironment(Map<String, ?>) - Method in AbstractExecTask
Set the environment variables to use for the process.
setErrorOutput(OutputStream) - Method in AbstractExecSpec
Set the stream where error output should be sent to for this process when executing.
setErrorOutput(OutputStream) - Method in AbstractExecTask
Set the stream where error output should be sent to for this process when executing.
setExeArgs(Iterable<?>) - Method in AbstractExecTask
Replace the tool-specific arguments with a new set.
setExeArgs(Iterable<?>) - Method in AbstractToolExecSpec
Replace the tool-specific arguments with a new set.
setExecutable(Map<String, Object>) - Method in AbstractToolExecSpec
Use a key-value approach to setting the executable.
setIgnoreExitValue(boolean) - Method in AbstractExecSpec
setIgnoreExitValue(boolean) - Method in AbstractExecTask
Determine whether the exit value should be ignored.
setInstructionArgs(Iterable<?>) - Method in AbstractToolExecSpec
Replace the instruction-specific arguments with a new set.
setScript(Object) - Method in AbstractScriptExecSpec
Set the executable to use.
setScript(Object) - Method in AbstractScriptExecTask
Set the script to use.
setScriptArgs(Iterable<?>) - Method in AbstractScriptExecSpec
Replace the script-specific arguments with a new set.
setScriptArgs(Iterable<?>) - Method in AbstractScriptExecTask
Replace the script-specific arguments with a new set.
setSdkManCandidateName(String) - Method in AbstractDistributionInstaller
Set candidate name for SdkMan if the latter should be searched for installed versions
setStandardInput(InputStream) - Method in AbstractExecSpec
Set the stream where standard input should be read from for this process when executing.
setStandardInput(InputStream) - Method in AbstractExecTask
Set the stream where standard input should be read from for this process when executing.
setStandardOutput(OutputStream) - Method in AbstractExecSpec
Set the stream where standard output should be sent to for this process when executing.
setStandardOutput(OutputStream) - Method in AbstractExecTask
Set the stream where standard output should be sent to for this process when executing.
setToolExecutable(Object) - Method in AbstractExecTask
Sets the executable to use for this task
setWorkingDir(File) - Method in AbstractExecSpec
Set the working directory for the execution.
setWorkingDir(Object) - Method in AbstractExecTask
Set the working directory for the execution.
Solaris - Class in org.ysb33r.gradle.olifant.internal.os
standardInput(InputStream) - Method in AbstractExecSpec
Set the stream where standard input should be read from for this process when executing.
standardInput(InputStream) - Method in AbstractExecTask
Set the stream where standard input should be read from for this process when executing.
standardOutput(OutputStream) - Method in AbstractExecSpec
Set the stream where standard output should be sent to for this process when executing.
standardOutput(OutputStream) - Method in AbstractExecTask
Set the stream where standard output should be sent to for this process when executing.
stringize(Iterable<?>) - Method in StringUtils
Converts a collection of most things to a list of strings.
stringizeValues(Map<String, Object>) - Method in MapUtils
Evaluates a map of objects to a map of strings.
StringUtils - Class in org.ysb33r.gradle.olifant
A collection of utilities for converting to strings.

T

toString() - Method in OperatingSystem
Stringize implementation

U

unpack(File, File) - Method in AbstractDistributionInstaller
Unpacks a downloaded archive.
uriFromVersion(String) - Method in AbstractDistributionInstaller
Creates a download URI from a given distribution version
UriUtils - Class in org.ysb33r.gradle.olifant
Dealing with URIs
urize(Object) - Method in UriUtils
Attempts to convert object to a URI.

V

verifyDownloadChecksum(String, File, String) - Method in AbstractDistributionInstaller
Verifies the checksum (if provided) of a newly downloaded distribution archive.

W

Windows - Class in org.ysb33r.gradle.olifant.internal.os
Windows implementation of OperatingSystem.
Windows() - Constructor in Windows
workingDir - Field in AbstractExecSpec
workingDir(Object) - Method in AbstractExecTask
Set the working directory for the execution.

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 _