- CachingBaseFileSystemProvider<P extends BasePath<P>> - Class in com.palantir.giraffe.file.base
-
A
BaseFileSystemProvider
that caches created file systems, allowing
at most one open file system for a given URI at a time.
- CachingBaseFileSystemProvider(Class<P>) - Constructor for class com.palantir.giraffe.file.base.CachingBaseFileSystemProvider
-
- changePermissionsRecursive(Path, PermissionChange, Set<PosixFilePermission>) - Method in interface com.palantir.giraffe.file.base.feature.RecursivePermissions
-
Recursively changes permissions on the given path.
- checkAccess(P, AccessMode...) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
- checkAccess(Path, AccessMode...) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- checkIsOpen() - Method in class com.palantir.giraffe.file.base.AbstractSeekableByteChannel
-
Checks that this channel is open.
- checkOpen(FileSystem) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that the given file system is open.
- checkOpen(ExecutionSystem) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that the given execution system is open.
- checkPath(Path) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- checkSameHost(Path, ExecutionSystem) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that the given path and execution system refer to the same host.
- checkSameHost(FileSystem, ExecutionSystem) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that the given file system and execution system refer to the same
host.
- checkSameHost(Path, Path) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that two paths refer to the same host.
- checkSameHost(Host, FileSystem) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that the given host is the same as the host of the given file
system.
- checkSameHost(Host, ExecutionSystem) - Static method in class com.palantir.giraffe.SystemPreconditions
-
Ensures that the given host is the same as the host of the given
execution system.
- checkUri(URI) - Method in class com.palantir.giraffe.file.base.CachingBaseFileSystemProvider
-
Checks that uri
is a valid URI for a file system from this
provider.
- ChmodFilePermissions - Class in com.palantir.giraffe.file.base.attribute
-
Converts
PosixFilePermission
s to and from representations used by the
chmod
command and system call.
- close() - Method in class com.palantir.giraffe.file.base.AbstractFilteredDirectoryStream
-
- close() - Method in class com.palantir.giraffe.file.base.AbstractSeekableByteChannel
-
- close() - Method in class com.palantir.giraffe.file.base.CloseableRegistry
-
- close() - Method in class com.palantir.giraffe.file.base.SuppressedCloseable
-
Closes the contained Closeable
s in order.
- close() - Method in class com.palantir.giraffe.file.TempPath
-
Closes this path, deleting the file or directory if it exists.
- CloseableRegistry - Class in com.palantir.giraffe.file.base
-
An ordered list of
Closeable
s that is closed in order.
- CloseableRegistry() - Constructor for class com.palantir.giraffe.file.base.CloseableRegistry
-
- closeAfterCompletion(ExecutionSystem, CommandFuture) - Static method in class com.palantir.giraffe.command.ExecutionSystems
-
Closes any connections the ExecutionSystem uses to execute commands after the
CommandFuture finishes, even if other commands are still executing over the connections.
- closeAfterCompletion(ExecutionSystem, CommandExitLatch) - Static method in class com.palantir.giraffe.command.ExecutionSystems
-
Blocks the registration of any new futures on the ExecutionSystemShutdownListener.
- ClosedExecutionSystemException - Exception in com.palantir.giraffe.command
-
Runtime exception thrown when methods are called on a closed execution
system.
- ClosedExecutionSystemException() - Constructor for exception com.palantir.giraffe.command.ClosedExecutionSystemException
-
- com.palantir.giraffe - package com.palantir.giraffe
-
Provides general utilities for working with file and execution systems.
- com.palantir.giraffe.command - package com.palantir.giraffe.command
-
Provides classes and interfaces for local and remote command execution.
- com.palantir.giraffe.command.interactive - package com.palantir.giraffe.command.interactive
-
Provides classes for performing interactive command execution.
- com.palantir.giraffe.command.spi - package com.palantir.giraffe.command.spi
-
- com.palantir.giraffe.file - package com.palantir.giraffe.file
-
Provides classes that supplement standard JDK file system functionality.
- com.palantir.giraffe.file.base - package com.palantir.giraffe.file.base
-
Provides utilities to make implementing custom file systems easier.
- com.palantir.giraffe.file.base.attribute - package com.palantir.giraffe.file.base.attribute
-
Provides annotation-based dynamic access to file attributes.
- com.palantir.giraffe.file.base.feature - package com.palantir.giraffe.file.base.feature
-
Provides interfaces defining additional file system features.
- com.palantir.giraffe.host - package com.palantir.giraffe.host
-
Provides classes and interfaces for interacting with hosts.
- com.palantir.giraffe.host.spi - package com.palantir.giraffe.host.spi
-
- com.palantir.giraffe.ssh - package com.palantir.giraffe.ssh
-
Provides SSH access for remote file systems and command execution.
- Command - Interface in com.palantir.giraffe.command
-
Represents an executable path and set of arguments that may be run by an
execution system.
- command - Variable in class com.palantir.giraffe.command.TerminatedCommand
-
- Command.Builder - Interface in com.palantir.giraffe.command
-
- CommandContext - Class in com.palantir.giraffe.command
-
Provides command-independent information that influences how commands
execute.
- CommandContext.Builder - Class in com.palantir.giraffe.command
-
- CommandEnvironment - Class in com.palantir.giraffe.command
-
Describes the environment variables that are present when a
Command
executes.
- CommandEnvironment.BaseEnvironment - Enum in com.palantir.giraffe.command
-
Defines the target of environment changes.
- CommandException - Exception in com.palantir.giraffe.command
-
Runtime exception thrown when a command fails, usually by exiting with a
non-zero exit status.
- CommandException(TerminatedCommand) - Constructor for exception com.palantir.giraffe.command.CommandException
-
- CommandExitLatch - Class in com.palantir.giraffe.command
-
Listener that shuts down an ExecutionSystem after it's been started and all registered
CommandFutures have finished.
- CommandExitLatch(CommandFuture...) - Constructor for class com.palantir.giraffe.command.CommandExitLatch
-
Constructs a new CommandExitLatch to shutdown an ExecutionSystem
after all registered CommandFutures have finished.
- CommandFuture - Interface in com.palantir.giraffe.command
-
A
ListenableFuture
that provides access to the output and exit status
of an asynchronous command.
- CommandOutputTrigger - Class in com.palantir.giraffe.command.interactive
-
Listens on long-running commands and runs
Runnable
s when certain
output appears.
- CommandOutputTrigger(ResponseProvider<Runnable>, CommandFuture) - Constructor for class com.palantir.giraffe.command.interactive.CommandOutputTrigger
-
Create a CommandOutputTrigger
for a running command using the
provided ResponseProvider
.
- CommandOutputTrigger(ResponseProvider<Runnable>, CommandFuture, Executor) - Constructor for class com.palantir.giraffe.command.interactive.CommandOutputTrigger
-
Create a CommandOutputTrigger
for a running command using the
provided ResponseProvider
.
- CommandResult - Class in com.palantir.giraffe.command
-
Contains the output and exit status of a completed command.
- CommandResult(int, String, String) - Constructor for class com.palantir.giraffe.command.CommandResult
-
- Commands - Class in com.palantir.giraffe.command
-
Static utility methods to create and execute commands.
- CommandTimeoutException - Exception in com.palantir.giraffe.command
-
Checked exception thrown when the timeout for a command is exceeded.
- CommandTimeoutException(TerminatedCommand, long, TimeUnit) - Constructor for exception com.palantir.giraffe.command.CommandTimeoutException
-
- compareTo(Path) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- compareTo(ImmutableListPathCore) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- compareTo(UniformPath) - Method in class com.palantir.giraffe.file.UniformPath
-
- contains(String) - Method in class com.palantir.giraffe.host.SystemRequest
-
- context - Variable in class com.palantir.giraffe.command.TerminatedCommand
-
- copy() - Method in class com.palantir.giraffe.command.CommandEnvironment
-
Returns a copy of this environment.
- copyAttributes(Path, Path, LinkOption...) - Static method in class com.palantir.giraffe.file.base.attribute.PosixFileAttributeViews
-
- copyAttributes - Variable in class com.palantir.giraffe.file.base.CopyFlags
-
- copyFile(Path, Path, CopyFlags) - Static method in class com.palantir.giraffe.file.base.CrossSystemTransfers
-
- CopyFlags - Class in com.palantir.giraffe.file.base
-
- CopyFlags() - Constructor for class com.palantir.giraffe.file.base.CopyFlags
-
- copyLarge(Path, Path) - Method in interface com.palantir.giraffe.file.base.feature.LargeFileCopy
-
Copies the source file to the target path in an efficient way.
- copyLarge(Path, Path) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Copy a file to a target file in an efficient way.
- copyRecursive(Path, Path) - Method in interface com.palantir.giraffe.file.base.feature.RecursiveCopy
-
Recursively copies the source path to the target path in an efficient
way.
- copyRecursive(Path, Path) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Copy a path to a target path recursively.
- create - Variable in class com.palantir.giraffe.file.base.OpenFlags
-
- create(Closeable, Closeable...) - Static method in class com.palantir.giraffe.file.base.SuppressedCloseable
-
- create(List<? extends Closeable>) - Static method in class com.palantir.giraffe.file.base.SuppressedCloseable
-
- createDirectory(P, FileAttribute<?>...) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
- createDirectory(Path, FileAttribute<?>...) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- createDirectory() - Static method in class com.palantir.giraffe.file.TempPath
-
Creates a new temporary directory in the default temporary file location.
- createDirectory(Path) - Static method in class com.palantir.giraffe.file.TempPath
-
Creates a new temporary directory in the specified directory.
- createFile() - Static method in class com.palantir.giraffe.file.TempPath
-
Creates a new temporary file in the default temporary file location.
- createFile(Path) - Static method in class com.palantir.giraffe.file.TempPath
-
Creates a new temporary file in the specified directory.
- createNew - Variable in class com.palantir.giraffe.file.base.OpenFlags
-
- createView(Path, LinkOption[]) - Method in class com.palantir.giraffe.file.base.attribute.PosixFileAttributeViewFactory
-
- creationTime() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedBasicFileAttributes
-
- creationTime(FileTime) - Method in interface com.palantir.giraffe.file.base.attribute.PosixFileAttributeSetter
-
- Credential<A extends Authenticator> - Class in com.palantir.giraffe.host
-
Contains information required to authenticate with a host or service.
- Credential(Class<A>) - Constructor for class com.palantir.giraffe.host.Credential
-
- CREDENTIAL_KEY - Static variable in class com.palantir.giraffe.host.AuthenticatedSystemRequest
-
- CrossSystemTransfers - Class in com.palantir.giraffe.file.base
-
Utilities to implement copy and move operations between distinct systems from
the same provider.
- emptyEnvironment() - Static method in class com.palantir.giraffe.command.CommandEnvironment
-
Returns an empty environment with no changes.
- endsWith(Path) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- endsWith(String) - Method in class com.palantir.giraffe.file.base.BasePath
-
- endsWith(ImmutableListPathCore) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- endsWith(P) - Method in interface com.palantir.giraffe.file.base.PathCore
-
- endsWith(UniformPath) - Method in class com.palantir.giraffe.file.UniformPath
-
- endsWith(String) - Method in class com.palantir.giraffe.file.UniformPath
-
- entryIterator() - Method in class com.palantir.giraffe.file.base.AbstractFilteredDirectoryStream
-
Creates and returns an iterator over the entries in this directory.
- environment(CommandEnvironment) - Method in class com.palantir.giraffe.command.CommandContext.Builder
-
Sets the
environment for commands
executed with this context.
- equals(Object) - Method in interface com.palantir.giraffe.command.Command
-
Tests this Command
for equality with another object.
- equals(Object) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- equals(Object) - Method in class com.palantir.giraffe.file.base.attribute.GroupIdPrincipal
-
- equals(Object) - Method in class com.palantir.giraffe.file.base.attribute.UserIdPrincipal
-
- equals(Object) - Method in class com.palantir.giraffe.file.base.BasePath
-
- equals(Object) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- equals(Object) - Method in class com.palantir.giraffe.file.UniformPath
-
- equals(Object) - Method in class com.palantir.giraffe.host.Host
-
Determines if this Host
is equal to another Host
.
- equals(Object) - Method in class com.palantir.giraffe.host.SystemRequest
-
- execute(Command) - Static method in class com.palantir.giraffe.command.Commands
-
Synchronously executes a command with the default context.
- execute(Command, CommandContext) - Static method in class com.palantir.giraffe.command.Commands
-
Synchronously executes a command with the specified context.
- execute(Command, long, TimeUnit) - Static method in class com.palantir.giraffe.command.Commands
-
Synchronously executes a command with the default context and the given
timeout.
- execute(Command, CommandContext, long, TimeUnit) - Static method in class com.palantir.giraffe.command.Commands
-
Synchronously executes a command with the given context and timeout.
- execute(Command, CommandContext) - Method in class com.palantir.giraffe.command.spi.ExecutionSystemProvider
-
- executeAsync(Command) - Static method in class com.palantir.giraffe.command.Commands
-
Executes a command asynchronously with the default context.
- executeAsync(Command, CommandContext) - Static method in class com.palantir.giraffe.command.Commands
-
Executes a command asynchronously with the specified context.
- ExecutionSystem - Class in com.palantir.giraffe.command
-
Provides an interface for command execution and is the factory for command
objects.
- ExecutionSystem() - Constructor for class com.palantir.giraffe.command.ExecutionSystem
-
- ExecutionSystemAlreadyExistsException - Exception in com.palantir.giraffe.command
-
Runtime exception thrown when an attempt is made to create an execution
system that already exists.
- ExecutionSystemAlreadyExistsException() - Constructor for exception com.palantir.giraffe.command.ExecutionSystemAlreadyExistsException
-
- ExecutionSystemAlreadyExistsException(String) - Constructor for exception com.palantir.giraffe.command.ExecutionSystemAlreadyExistsException
-
- ExecutionSystemNotFoundException - Exception in com.palantir.giraffe.command
-
Runtime exception thrown when an execution system cannot be found.
- ExecutionSystemNotFoundException() - Constructor for exception com.palantir.giraffe.command.ExecutionSystemNotFoundException
-
- ExecutionSystemNotFoundException(String) - Constructor for exception com.palantir.giraffe.command.ExecutionSystemNotFoundException
-
- ExecutionSystemProvider - Class in com.palantir.giraffe.command.spi
-
Service provider class for execution systems.
- ExecutionSystemProvider() - Constructor for class com.palantir.giraffe.command.spi.ExecutionSystemProvider
-
- ExecutionSystems - Class in com.palantir.giraffe.command
-
Factory methods for execution systems.
- get(String, Object...) - Static method in class com.palantir.giraffe.command.Commands
-
Gets a command for the default execution system.
- get(Path, Object...) - Static method in class com.palantir.giraffe.command.Commands
-
Gets a command for the default execution system.
- get(K) - Method in class com.palantir.giraffe.file.base.SystemCache
-
Gets the system associated with key
if it exists.
- get(String, String...) - Static method in class com.palantir.giraffe.file.UniformPath
-
Converts a path string, or a sequence of strings that form a path string
when joined, to a UniformPath
.
- get(Iterable<String>) - Static method in class com.palantir.giraffe.file.UniformPath
-
Converts a sequence of strings that form a path string when joined to a
UniformPath
.
- get(String) - Method in class com.palantir.giraffe.host.SystemRequest
-
- get(String, Class<? extends T>) - Method in class com.palantir.giraffe.host.SystemRequest
-
- getArguments() - Method in interface com.palantir.giraffe.command.Command
-
Returns the arguments of this command.
- getArguments() - Method in exception com.palantir.giraffe.command.CommandException
-
Returns the arguments of the failed command.
- getArguments() - Method in exception com.palantir.giraffe.command.CommandTimeoutException
-
Returns the arguments of the failed command.
- getAuthenticatorType() - Method in class com.palantir.giraffe.host.Credential
-
- getBase() - Method in class com.palantir.giraffe.command.CommandEnvironment
-
Returns this environment's
base.
- getBasicFactory() - Method in class com.palantir.giraffe.file.base.attribute.PosixFileAttributeViewFactory
-
- getBuilder(Path) - Static method in class com.palantir.giraffe.command.Commands
-
Gets a command builder for the default execution system.
- getBuilder(String) - Static method in class com.palantir.giraffe.command.Commands
-
Gets a command builder for the default execution system.
- getByAttributesType(Class<? extends BasicFileAttributes>) - Method in class com.palantir.giraffe.file.base.attribute.FileAttributeViewRegistry
-
- getByViewName(String) - Method in class com.palantir.giraffe.file.base.attribute.FileAttributeViewRegistry
-
- getByViewType(Class<? extends FileAttributeView>) - Method in class com.palantir.giraffe.file.base.attribute.FileAttributeViewRegistry
-
- getCanonicalHostname() - Method in class com.palantir.giraffe.host.Host
-
Gets this host's canonical hostname by performing a reverse DNS lookup
on this host's
IP address.
- getChanges() - Method in class com.palantir.giraffe.command.CommandEnvironment
-
Returns an unmodifiable view of the changes in this environment.
- getCommand(String, Object...) - Method in class com.palantir.giraffe.command.ExecutionSystem
-
Gets a command for this execution system.
- getCommand(Path, Object...) - Method in class com.palantir.giraffe.command.ExecutionSystem
-
Gets a command for this execution system.
- getCommand(String, Object...) - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getCommand(Path, Object...) - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getCommand(String, Object...) - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Gets a command on this host's execution system.
- getCommand(Path, Object...) - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Gets a command on this host's execution system.
- getCommandBuilder(Path) - Method in class com.palantir.giraffe.command.ExecutionSystem
-
Gets a command builder for this execution system.
- getCommandBuilder(String) - Method in class com.palantir.giraffe.command.ExecutionSystem
-
Gets a command builder for this execution system.
- getCore() - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- getCreatePermissions(FileAttribute<?>[]) - Static method in class com.palantir.giraffe.file.base.attribute.PosixFileAttributeViews
-
Gets a set of file permissions used when creating a file or directory
from the specified attributes.
- getCredential() - Method in class com.palantir.giraffe.host.AuthenticatedSystemRequest
-
- getDefault() - Static method in class com.palantir.giraffe.command.ExecutionSystems
-
Returns the default execution system for the local machine.
- getDefault() - Static method in class com.palantir.giraffe.host.HostAccessors
-
- getEnvironment() - Method in class com.palantir.giraffe.command.CommandContext
-
Returns a copy of this context's CommandEnvironment
.
- getExecutable() - Method in interface com.palantir.giraffe.command.Command
-
Returns this command's executable.
- getExecutable() - Method in exception com.palantir.giraffe.command.CommandException
-
Returns the failed command.
- getExecutable() - Method in exception com.palantir.giraffe.command.CommandTimeoutException
-
Returns the failed command.
- getExecutionSystem() - Method in interface com.palantir.giraffe.command.Command
-
Returns the ExecutionSystem
associated with this command.
- getExecutionSystem(URI) - Static method in class com.palantir.giraffe.command.ExecutionSystems
-
Gets an existing execution system with the specified URI.
- getExecutionSystem(URI) - Method in class com.palantir.giraffe.command.spi.ExecutionSystemProvider
-
- getExecutionSystem() - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getExecutionSystem() - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Returns this host's ExecutionSystem
.
- getExitStatus() - Method in class com.palantir.giraffe.command.CommandResult
-
Returns the exit status of the command.
- getExitStatusVerifier() - Method in class com.palantir.giraffe.command.CommandContext
-
Returns the predicate this context uses to verify the exit status of
commands.
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- getFileName() - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- getFileName() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- getFileName() - Method in interface com.palantir.giraffe.file.base.PathCore
-
- getFileName() - Method in class com.palantir.giraffe.file.UniformPath
-
- getFileSystem() - Method in class com.palantir.giraffe.file.base.BasePath
-
- getFileSystem(URI) - Method in class com.palantir.giraffe.file.base.CachingBaseFileSystemProvider
-
- getFileSystem() - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getFileSystem() - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Returns this host's FileSystem
.
- getGid() - Method in class com.palantir.giraffe.file.base.attribute.GroupIdPrincipal
-
- getHost() - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getHost() - Method in interface com.palantir.giraffe.host.HostAccessor
-
Returns the
Host
that this object makes accessible.
- getHost() - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Returns the
Host
controlled by this system.
- getHost() - Method in class com.palantir.giraffe.ssh.SshHostAccessor
-
- getHostname() - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getHostname() - Method in class com.palantir.giraffe.host.Host
-
Returns the hostname of this host.
- getHostname() - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Returns the name of the host controlled by this system.
- getHostname() - Method in exception com.palantir.giraffe.host.InetAddressUnresolvableException
-
Returns the hostname that could not be resolved.
- getInetAddress() - Method in class com.palantir.giraffe.host.Host
-
Resolves this host's
hostname to an IP
address.
- getKeepaliveInterval() - Method in class com.palantir.giraffe.ssh.SshSystemRequest
-
- getKeyPath() - Method in class com.palantir.giraffe.ssh.PublicKeySshCredential
-
Returns the path of the private key used by this credential if it is
available.
- getLogger() - Method in class com.palantir.giraffe.ssh.SshSystemRequest
-
- getMessage() - Method in exception com.palantir.giraffe.command.CommandException
-
Returns a description of the executed command and how it failed.
- getMessage() - Method in exception com.palantir.giraffe.command.CommandTimeoutException
-
Returns a description of the executed command until the time out.
- getName(int) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- getName() - Method in class com.palantir.giraffe.file.base.attribute.GroupIdPrincipal
-
Returns a string representation of this group's ID.
- getName() - Method in class com.palantir.giraffe.file.base.attribute.UserIdPrincipal
-
Returns a string representation of this user's ID.
- getName(int) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- getName(int) - Method in interface com.palantir.giraffe.file.base.PathCore
-
- getName(int) - Method in class com.palantir.giraffe.file.UniformPath
-
- getNameCount() - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- getNameCount() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- getNameCount() - Method in interface com.palantir.giraffe.file.base.PathCore
-
- getNameCount() - Method in class com.palantir.giraffe.file.UniformPath
-
- getOperator() - Method in enum com.palantir.giraffe.file.base.attribute.PermissionChange
-
- getOwner() - Method in class com.palantir.giraffe.file.base.attribute.AbstractPosixFileAttributeView
-
- getParent() - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- getParent() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- getParent() - Method in interface com.palantir.giraffe.file.base.PathCore
-
- getParent() - Method in class com.palantir.giraffe.file.UniformPath
-
- getPassword() - Method in class com.palantir.giraffe.ssh.PasswordSshCredential
-
- getPath(String, String...) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
- getPath(String) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
Converts a single path string with separators to a
Path
object.
- getPath(String, String...) - Method in class com.palantir.giraffe.host.AbstractHostControlSystem
-
- getPath(String, String...) - Method in interface com.palantir.giraffe.host.HostControlSystem
-
Gets a path on this host's file system.
- getPathMatcher(String) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
- getPathSegments() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- getPort() - Method in class com.palantir.giraffe.ssh.SshSystemRequest
-
- getPosixFactory() - Method in class com.palantir.giraffe.file.base.attribute.PosixFileAttributeViewFactory
-
- getPrivateKey() - Method in class com.palantir.giraffe.ssh.PublicKeySshCredential
-
- getRegisteredViews() - Method in class com.palantir.giraffe.file.base.attribute.FileAttributeViewRegistry
-
- getResponse(String) - Method in interface com.palantir.giraffe.command.interactive.ResponseProvider.OutputMatcher
-
- getResult() - Method in exception com.palantir.giraffe.command.CommandException
-
Returns the result of executing the command.
- getResult() - Method in exception com.palantir.giraffe.command.CommandTimeoutException
-
Returns the result of executing the command until the timeout.
- getRoot() - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- getRoot() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- getRoot() - Method in interface com.palantir.giraffe.file.base.PathCore
-
- getRoot() - Method in class com.palantir.giraffe.file.UniformPath
-
- getRootString() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
Returns the root component of this path, or null
if this path is
relative.
- getStdErr() - Method in interface com.palantir.giraffe.command.CommandFuture
-
Returns the command process's standard error stream.
- getStdErr() - Method in class com.palantir.giraffe.command.CommandResult
-
Returns the standard error output of the command.
- getStderrWindowSize() - Method in class com.palantir.giraffe.command.CommandContext
-
Returns this context's error window.
- getStdIn() - Method in interface com.palantir.giraffe.command.CommandFuture
-
Returns the command process's standard input stream.
- getStdOut() - Method in interface com.palantir.giraffe.command.CommandFuture
-
Returns the command process's standard output stream.
- getStdOut() - Method in class com.palantir.giraffe.command.CommandResult
-
Returns the standard output of the command.
- getStdoutWindowSize() - Method in class com.palantir.giraffe.command.CommandContext
-
Returns this context's output window.
- getUid() - Method in class com.palantir.giraffe.file.base.attribute.UserIdPrincipal
-
- getUri() - Method in exception com.palantir.giraffe.command.CommandException
-
Returns the URI of the system that executed the command.
- getUri() - Method in exception com.palantir.giraffe.command.CommandTimeoutException
-
Returns the URI of the system that executed the command.
- getUsername() - Method in class com.palantir.giraffe.ssh.SshCredential
-
- getUsername() - Method in class com.palantir.giraffe.ssh.SshSystemRequest
-
- getUserPrincipalLookupService() - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
- getWorkingDirectory() - Method in class com.palantir.giraffe.command.CommandContext
-
Returns this context's working directory.
- Globs - Class in com.palantir.giraffe.file.base
-
Utility methods for working with
glob patterns.
- group() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedPosixFileAttributes
-
- group(GroupPrincipal) - Method in interface com.palantir.giraffe.file.base.attribute.PosixFileAttributeSetter
-
- GroupIdPrincipal - Class in com.palantir.giraffe.file.base.attribute
-
- GroupIdPrincipal(int) - Constructor for class com.palantir.giraffe.file.base.attribute.GroupIdPrincipal
-
- ignoreExitStatus() - Method in class com.palantir.giraffe.command.CommandContext.Builder
-
Allows any exit status for commands executed with this context.
- ignoreExitStatus() - Static method in class com.palantir.giraffe.command.CommandContext
-
Returns a context that ignores the exit status of commands.
- ImmutableListPathCore - Class in com.palantir.giraffe.file.base
-
- ImmutableListPathCore(String, Iterable<String>) - Constructor for class com.palantir.giraffe.file.base.ImmutableListPathCore
-
Constructs a new core instance.
- ImmutableListPathCore.Parser - Class in com.palantir.giraffe.file.base
-
Creates ImmutableListPathCore
instances from path strings.
- ImmutableListPathCore.Parser.NamedRootFormat - Enum in com.palantir.giraffe.file.base
-
Specifies the format of named roots in a path string.
- InetAddressUnresolvableException - Exception in com.palantir.giraffe.host
-
Unchecked exception thrown when a hostname cannot be resolved to an
InetAddress
.
- InetAddressUnresolvableException(String, Throwable) - Constructor for exception com.palantir.giraffe.host.InetAddressUnresolvableException
-
Creates an exception with the specified hostname and cause.
- init(K, SystemCache.Factory<S>) - Method in class com.palantir.giraffe.file.base.SystemCache
-
Atomically initializes a system associated with key
if no such
system exists.
- installedProviders() - Static method in class com.palantir.giraffe.command.spi.ExecutionSystemProvider
-
- installedProviders() - Static method in class com.palantir.giraffe.host.spi.HostAccessorProvider
-
- isAbsolute() - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- isAbsolute() - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- isAbsolute() - Method in interface com.palantir.giraffe.file.base.PathCore
-
- isAbsolute() - Method in class com.palantir.giraffe.file.UniformPath
-
- isArchive() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedDosFileAttributes
-
- isClosed() - Method in class com.palantir.giraffe.command.CommandExitLatch
-
- isCompatible(Path) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- isDefault() - Method in class com.palantir.giraffe.command.CommandEnvironment
-
Determines if this environment is the unmodified default environment.
- isDirectory() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedBasicFileAttributes
-
- isEmpty(Path) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Test if the given path is empty.
- isHidden() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedDosFileAttributes
-
- isHidden(P) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
- isHidden(Path) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- isLocal(Command) - Static method in class com.palantir.giraffe.command.Commands
-
Determines if the given command is associated with the default (local) execution
system.
- isLocal(Path) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Determines if the given path is associated with the default (local) file
system.
- isOpen() - Method in class com.palantir.giraffe.command.ExecutionSystem
-
Returns true
if this system is open.
- isOpen() - Method in class com.palantir.giraffe.file.base.AbstractSeekableByteChannel
-
- isOther() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedBasicFileAttributes
-
- isReadOnly() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedDosFileAttributes
-
- isRegularFile() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedBasicFileAttributes
-
- isSameFile(P, P) - Method in class com.palantir.giraffe.file.base.BaseFileSystem
-
Determines two non-equal paths refer to the same file.
- isSameFile(Path, Path) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- isSymbolicLink() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedBasicFileAttributes
-
- isSystem() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedDosFileAttributes
-
- isUpgradeable(FileSystem) - Static method in class com.palantir.giraffe.SystemUpgrader
-
Returns true
if the given file system can be upgrade to a host
control system.
- isUpgradeable(ExecutionSystem) - Static method in class com.palantir.giraffe.SystemUpgrader
-
Returns true
if the given execution system can be upgraded to a
host control system.
- iterator() - Method in class com.palantir.giraffe.file.base.AbstractFilteredDirectoryStream
-
- iterator() - Method in class com.palantir.giraffe.file.base.BasePath
-
- iterator() - Method in class com.palantir.giraffe.file.UniformPath
-
- read - Variable in class com.palantir.giraffe.file.base.OpenFlags
-
- readAllAttributes() - Method in class com.palantir.giraffe.file.base.attribute.DynamicAttributeAccessor
-
- readAllString(Path, Charset) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Reads the contents of a file as a string.
- readAttributes() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedBasicFileAttributeView
-
- readAttributes() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedDosFileAttributeView
-
- readAttributes() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedFileAttributeView
-
- readAttributes() - Method in interface com.palantir.giraffe.file.base.attribute.AnnotatedPosixFileAttributeView
-
- readAttributes(String) - Method in class com.palantir.giraffe.file.base.attribute.DynamicAttributeAccessor
-
- readAttributes(Set<String>) - Method in class com.palantir.giraffe.file.base.attribute.DynamicAttributeAccessor
-
- readAttributes(Path, Class<A>, LinkOption...) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- readAttributes(Path, String, LinkOption...) - Method in class com.palantir.giraffe.file.base.BaseFileSystemProvider
-
- RecursiveCopy - Interface in com.palantir.giraffe.file.base.feature
-
Indicates that a FileSystemProvider
supports efficient recursive
copies.
- RecursiveDelete - Interface in com.palantir.giraffe.file.base.feature
-
Indicates that a FileSystemProvider
supports efficient recursive
deletes.
- RecursivePermissions - Interface in com.palantir.giraffe.file.base.feature
-
Indicates that a FileSystemProvider
supports efficient recursive
permission changes.
- register(CommandFuture) - Method in class com.palantir.giraffe.command.CommandExitLatch
-
Register a new CommandFuture on the Listener.
- register(WatchService, WatchEvent.Kind<?>...) - Method in class com.palantir.giraffe.file.base.BasePath
-
- register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class com.palantir.giraffe.file.base.BasePath
-
- register(Closeable) - Method in class com.palantir.giraffe.file.base.CloseableRegistry
-
Registers closeable
with the default priority, 0
.
- register(Closeable, int) - Method in class com.palantir.giraffe.file.base.CloseableRegistry
-
Registers closeable
with the given priority.
- regularFileFilter() - Static method in class com.palantir.giraffe.file.MoreFiles
-
Returns a directory filter that matches
regular files.
- relativize(Path) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- relativize(ImmutableListPathCore) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- relativize(P) - Method in interface com.palantir.giraffe.file.base.PathCore
-
- relativize(UniformPath) - Method in class com.palantir.giraffe.file.UniformPath
-
- remove(K) - Method in class com.palantir.giraffe.file.base.SystemCache
-
Removes the initialized system associated with key
from the
cache.
- removePermission(Path, PosixFilePermission) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Removes a permission from a file or directory.
- removePermissionRecursive(Path, PosixFilePermission) - Static method in class com.palantir.giraffe.file.MoreFiles
-
Recursively removes a permission from a directory.
- replaceExisting - Variable in class com.palantir.giraffe.file.base.CopyFlags
-
- request() - Method in interface com.palantir.giraffe.host.AuthenticatedHostAccessor
-
- request() - Method in interface com.palantir.giraffe.host.HostAccessor
-
- request() - Method in class com.palantir.giraffe.ssh.SshHostAccessor
-
- requireExitStatus(int) - Method in class com.palantir.giraffe.command.CommandContext.Builder
-
Sets the required exit status for commands executed with this
context.
- requireExitStatus(Predicate<Integer>) - Method in class com.palantir.giraffe.command.CommandContext.Builder
-
Indicates what the permissible exit status of a command execution is
through a Predicate.
- requireExitStatus(int) - Static method in class com.palantir.giraffe.command.CommandContext
-
Returns a context that requires commands exit with the given status.
- resolve(Path) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- resolve(String) - Method in class com.palantir.giraffe.file.base.BasePath
-
- resolve(ImmutableListPathCore) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- resolve(P) - Method in interface com.palantir.giraffe.file.base.PathCore
-
- resolve(UniformPath) - Method in class com.palantir.giraffe.file.UniformPath
-
- resolve(String) - Method in class com.palantir.giraffe.file.UniformPath
-
- resolveSibling(Path) - Method in class com.palantir.giraffe.file.base.AbstractImmutableListPath
-
- resolveSibling(String) - Method in class com.palantir.giraffe.file.base.BasePath
-
- resolveSibling(ImmutableListPathCore) - Method in class com.palantir.giraffe.file.base.ImmutableListPathCore
-
- resolveSibling(P) - Method in interface com.palantir.giraffe.file.base.PathCore
-
- resolveSibling(UniformPath) - Method in class com.palantir.giraffe.file.UniformPath
-
- resolveSibling(String) - Method in class com.palantir.giraffe.file.UniformPath
-
- resolvesToHost(Host) - Method in class com.palantir.giraffe.host.Host
-
Determines if this host has the same canonical name as another host.
- ResponseProvider<T> - Interface in com.palantir.giraffe.command.interactive
-
Used to get a response, given an instance of an input String
.
- ResponseProvider.OutputMatcher<T> - Interface in com.palantir.giraffe.command.interactive
-
Represents a <prompt, response> pair.
- result - Variable in class com.palantir.giraffe.command.TerminatedCommand
-