Package com.sshtools.client.tasks
Class StatTask.StatTaskBuilder
java.lang.Object
com.sshtools.client.tasks.AbstractConnectionTask.AbstractConnectionTaskBuilder<B,T>
com.sshtools.client.tasks.AbstractFileTask.AbstractFileTaskBuilder<StatTask.StatTaskBuilder,StatTask>
com.sshtools.client.tasks.StatTask.StatTaskBuilder
- Enclosing class:
- StatTask
public static final class StatTask.StatTaskBuilder
extends AbstractFileTask.AbstractFileTaskBuilder<StatTask.StatTaskBuilder,StatTask>
Builder for
StatTask
.-
Field Summary
Fields inherited from class com.sshtools.client.tasks.AbstractConnectionTask.AbstractConnectionTaskBuilder
clientSupplier, connection
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static StatTask.StatTaskBuilder
create()
Create a newStatTask.StatTaskBuilder
withRemote
(Path remote) Set the remote path to statwithRemote
(Optional<Path> remote) Set the remote path to statwithRemotePath
(String remote) Set the remote path to statwithRemotePath
(Optional<String> remote) Set the remote path to statMethods inherited from class com.sshtools.client.tasks.AbstractFileTask.AbstractFileTaskBuilder
withProgress, withProgress
Methods inherited from class com.sshtools.client.tasks.AbstractConnectionTask.AbstractConnectionTaskBuilder
withClient, withClients, withConnection
-
Method Details
-
create
Create a newStatTask.StatTaskBuilder
- Returns:
- builder
-
withRemotePath
Set the remote path to stat- Parameters:
remote
- path- Returns:
- builder for chaining
-
withRemote
Set the remote path to stat- Parameters:
remote
- remote path- Returns:
- builder for chaining
-
withRemote
Set the remote path to stat- Parameters:
remote
- remote path- Returns:
- builder for chaining
-
withRemotePath
Set the remote path to stat- Parameters:
remote
- remote path- Returns:
- builder for chaining
-
build
- Specified by:
build
in classAbstractFileTask.AbstractFileTaskBuilder<StatTask.StatTaskBuilder,
StatTask>
-