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

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.
addExecPattern(String) - Method in AbstractDistributionInstaller
Add patterns for files to be marked executable,

B

C

ChecksumFailedException - Class in org.ysb33r.gradle.olifant
Thrown when a checksum fails.
ChecksumFailedException(String, String, File, String, String) - Constructor in ChecksumFailedException
Instantiates an exception.
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

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
getDistributionRoot() - Method in AbstractDistributionInstaller
Returns the location which is the top or home folder for a distribution.
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
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
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
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
getVersion() - Method in OperatingSystem
The version for the current operating system.

H

I

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
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.

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.

Q

R

S

setChecksum(String) - Method in AbstractDistributionInstaller
Set a checksum that needs to be verified against downloaded archive
setDownloadRoot(File) - Method in AbstractDistributionInstaller
Sets a download root directory for the distribution.
setSdkManCandidateName(String) - Method in AbstractDistributionInstaller
Set candidate name for SdkMan if the latter should be searched for installed versions
Solaris - Class in org.ysb33r.gradle.olifant.internal.os
stringize(Iterable<?>) - Method in StringUtils
Converts a collection of most things to a list 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

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 _