Files Interface

public interface Files

An instance of this class provides access to all the operations defined in Files.

Method Summary

Modifier and Type Method and Description
void deleteFromComputeNode(String poolId, String nodeId, String filePath)

Deletes the specified file from the compute node.

void deleteFromComputeNode(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)

Deletes the specified file from the compute node.

Observable<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Deletes the specified file from the compute node.

Observable<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)

Deletes the specified file from the compute node.

ServiceFuture<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions, final ServiceCallback<Void> serviceCallback)

Deletes the specified file from the compute node.

ServiceFuture<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback<Void> serviceCallback)

Deletes the specified file from the compute node.

Observable<ServiceResponseWithHeaders<Void, FileDeleteFromComputeNodeHeaders>> deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)

Deletes the specified file from the compute node.

Observable<ServiceResponseWithHeaders<Void, FileDeleteFromComputeNodeHeaders>> deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)

Deletes the specified file from the compute node.

void deleteFromTask(String jobId, String taskId, String filePath)

Deletes the specified task file from the compute node where the task ran.

void deleteFromTask(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)

Deletes the specified task file from the compute node where the task ran.

Observable<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath)

Deletes the specified task file from the compute node where the task ran.

Observable<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)

Deletes the specified task file from the compute node where the task ran.

ServiceFuture<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions, final ServiceCallback<Void> serviceCallback)

Deletes the specified task file from the compute node where the task ran.

ServiceFuture<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath, final ServiceCallback<Void> serviceCallback)

Deletes the specified task file from the compute node where the task ran.

Observable<ServiceResponseWithHeaders<Void, FileDeleteFromTaskHeaders>> deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)

Deletes the specified task file from the compute node where the task ran.

Observable<ServiceResponseWithHeaders<Void, FileDeleteFromTaskHeaders>> deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)

Deletes the specified task file from the compute node where the task ran.

void getFromComputeNode(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, OutputStream outputStream)

Returns the content of the specified compute node file.

void getFromComputeNode(String poolId, String nodeId, String filePath, OutputStream outputStream)

Returns the content of the specified task file.

Observable<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Returns the content of the specified compute node file.

Observable<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

Returns the content of the specified compute node file.

ServiceFuture<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified compute node file.

ServiceFuture<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified compute node file.

Observable<ServiceResponseWithHeaders<InputStream, FileGetFromComputeNodeHeaders>> getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)

Returns the content of the specified compute node file.

Observable<ServiceResponseWithHeaders<InputStream, FileGetFromComputeNodeHeaders>> getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

Returns the content of the specified compute node file.

void getFromTask(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, OutputStream outputStream)

Returns the content of the specified task file.

void getFromTask(String jobId, String taskId, String filePath, OutputStream outputStream)

Returns the content of the specified task file.

Observable<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath)

Returns the content of the specified task file.

Observable<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)

Returns the content of the specified task file.

ServiceFuture<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified task file.

ServiceFuture<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath, final ServiceCallback<InputStream> serviceCallback)

Returns the content of the specified task file.

Observable<ServiceResponseWithHeaders<InputStream, FileGetFromTaskHeaders>> getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)

Returns the content of the specified task file.

Observable<ServiceResponseWithHeaders<InputStream, FileGetFromTaskHeaders>> getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)

Returns the content of the specified task file.

void getPropertiesFromComputeNode(String poolId, String nodeId, String filePath)

Gets the properties of the specified compute node file.

void getPropertiesFromComputeNode(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)

Gets the properties of the specified compute node file.

Observable<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Gets the properties of the specified compute node file.

Observable<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)

Gets the properties of the specified compute node file.

ServiceFuture<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions, final ServiceCallback<Void> serviceCallback)

Gets the properties of the specified compute node file.

ServiceFuture<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback<Void> serviceCallback)

Gets the properties of the specified compute node file.

Observable<ServiceResponseWithHeaders<Void, FileGetPropertiesFromComputeNodeHeaders>> getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)

Gets the properties of the specified compute node file.

Observable<ServiceResponseWithHeaders<Void, FileGetPropertiesFromComputeNodeHeaders>> getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)

Gets the properties of the specified compute node file.

void getPropertiesFromTask(String jobId, String taskId, String filePath)

Gets the properties of the specified task file.

void getPropertiesFromTask(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)

Gets the properties of the specified task file.

Observable<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath)

Gets the properties of the specified task file.

Observable<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)

Gets the properties of the specified task file.

ServiceFuture<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions, final ServiceCallback<Void> serviceCallback)

Gets the properties of the specified task file.

ServiceFuture<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, final ServiceCallback<Void> serviceCallback)

Gets the properties of the specified task file.

Observable<ServiceResponseWithHeaders<Void, FileGetPropertiesFromTaskHeaders>> getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)

Gets the properties of the specified task file.

Observable<ServiceResponseWithHeaders<Void, FileGetPropertiesFromTaskHeaders>> getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)

Gets the properties of the specified task file.

PagedList<NodeFile> listFromComputeNode(final String poolId, final String nodeId)

Lists all of the files in task directories on the specified compute node.

PagedList<NodeFile> listFromComputeNode(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions)

Lists all of the files in task directories on the specified compute node.

Observable<Page<NodeFile>> listFromComputeNodeAsync(final String poolId, final String nodeId)

Lists all of the files in task directories on the specified compute node.

Observable<Page<NodeFile>> listFromComputeNodeAsync(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions)

Lists all of the files in task directories on the specified compute node.

ServiceFuture<List<NodeFile>> listFromComputeNodeAsync(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions, final ListOperationCallback<NodeFile> serviceCallback)

Lists all of the files in task directories on the specified compute node.

ServiceFuture<List<NodeFile>> listFromComputeNodeAsync(final String poolId, final String nodeId, final ListOperationCallback<NodeFile> serviceCallback)

Lists all of the files in task directories on the specified compute node.

PagedList<NodeFile> listFromComputeNodeNext(final String nextPageLink)

Lists all of the files in task directories on the specified compute node.

PagedList<NodeFile> listFromComputeNodeNext(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)

Lists all of the files in task directories on the specified compute node.

Observable<Page<NodeFile>> listFromComputeNodeNextAsync(final String nextPageLink)

Lists all of the files in task directories on the specified compute node.

Observable<Page<NodeFile>> listFromComputeNodeNextAsync(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)

Lists all of the files in task directories on the specified compute node.

ServiceFuture<List<NodeFile>> listFromComputeNodeNextAsync(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions, final ServiceFuture<List<NodeFile>> serviceFuture, final ListOperationCallback<NodeFile> serviceCallback)

Lists all of the files in task directories on the specified compute node.

ServiceFuture<List<NodeFile>> listFromComputeNodeNextAsync(final String nextPageLink, final ServiceFuture<List<NodeFile>> serviceFuture, final ListOperationCallback<NodeFile> serviceCallback)

Lists all of the files in task directories on the specified compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>> listFromComputeNodeNextWithServiceResponseAsync(final String nextPageLink)

Lists all of the files in task directories on the specified compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>> listFromComputeNodeNextWithServiceResponseAsync(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)

Lists all of the files in task directories on the specified compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(final String poolId, final String nodeId)

Lists all of the files in task directories on the specified compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions)

Lists all of the files in task directories on the specified compute node.

PagedList<NodeFile> listFromTask(final String jobId, final String taskId)

Lists the files in a task's directory on its compute node.

PagedList<NodeFile> listFromTask(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions)

Lists the files in a task's directory on its compute node.

Observable<Page<NodeFile>> listFromTaskAsync(final String jobId, final String taskId)

Lists the files in a task's directory on its compute node.

Observable<Page<NodeFile>> listFromTaskAsync(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions)

Lists the files in a task's directory on its compute node.

ServiceFuture<List<NodeFile>> listFromTaskAsync(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions, final ListOperationCallback<NodeFile> serviceCallback)

Lists the files in a task's directory on its compute node.

ServiceFuture<List<NodeFile>> listFromTaskAsync(final String jobId, final String taskId, final ListOperationCallback<NodeFile> serviceCallback)

Lists the files in a task's directory on its compute node.

PagedList<NodeFile> listFromTaskNext(final String nextPageLink)

Lists the files in a task's directory on its compute node.

PagedList<NodeFile> listFromTaskNext(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions)

Lists the files in a task's directory on its compute node.

Observable<Page<NodeFile>> listFromTaskNextAsync(final String nextPageLink)

Lists the files in a task's directory on its compute node.

Observable<Page<NodeFile>> listFromTaskNextAsync(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions)

Lists the files in a task's directory on its compute node.

ServiceFuture<List<NodeFile>> listFromTaskNextAsync(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions, final ServiceFuture<List<NodeFile>> serviceFuture, final ListOperationCallback<NodeFile> serviceCallback)

Lists the files in a task's directory on its compute node.

ServiceFuture<List<NodeFile>> listFromTaskNextAsync(final String nextPageLink, final ServiceFuture<List<NodeFile>> serviceFuture, final ListOperationCallback<NodeFile> serviceCallback)

Lists the files in a task's directory on its compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromTaskHeaders>> listFromTaskNextWithServiceResponseAsync(final String nextPageLink)

Lists the files in a task's directory on its compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromTaskHeaders>> listFromTaskNextWithServiceResponseAsync(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions)

Lists the files in a task's directory on its compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromTaskHeaders>> listFromTaskWithServiceResponseAsync(final String jobId, final String taskId)

Lists the files in a task's directory on its compute node.

Observable<ServiceResponseWithHeaders<Page<NodeFile>, FileListFromTaskHeaders>> listFromTaskWithServiceResponseAsync(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions)

Lists the files in a task's directory on its compute node.

Method Details

deleteFromComputeNode

public void deleteFromComputeNode(String poolId, String nodeId, String filePath)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteFromComputeNode

public void deleteFromComputeNode(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromComputeNodeOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteFromComputeNodeAsync

public Observable deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromComputeNodeAsync

public Observable deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromComputeNodeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromComputeNodeAsync

public ServiceFuture deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions, final ServiceCallback serviceCallback)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromComputeNodeOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromComputeNodeAsync

public ServiceFuture deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback serviceCallback)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromComputeNodeWithServiceResponseAsync

public Observable<>> deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromComputeNodeWithServiceResponseAsync

public Observable<>> deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)

Deletes the specified file from the compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node from which you want to delete the file.
filePath - The path to the file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromComputeNodeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromTask

public void deleteFromTask(String jobId, String taskId, String filePath)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteFromTask

public void deleteFromTask(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromTaskOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteFromTaskAsync

public Observable deleteFromTaskAsync(String jobId, String taskId, String filePath)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromTaskAsync

public Observable deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromTaskOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromTaskAsync

public ServiceFuture deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions, final ServiceCallback serviceCallback)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromTaskOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromTaskAsync

public ServiceFuture deleteFromTaskAsync(String jobId, String taskId, String filePath, final ServiceCallback serviceCallback)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromTaskWithServiceResponseAsync

public Observable<>> deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteFromTaskWithServiceResponseAsync

public Observable<>> deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)

Deletes the specified task file from the compute node where the task ran.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to delete.
filePath - The path to the task file or directory that you want to delete.
recursive - Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
fileDeleteFromTaskOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromComputeNode

public void getFromComputeNode(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, OutputStream outputStream)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.
fileGetFromComputeNodeOptions - Additional parameters for the operation
outputStream - The OutputStream object which data will be written to if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getFromComputeNode

public void getFromComputeNode(String poolId, String nodeId, String filePath, OutputStream outputStream)

Returns the content of the specified task file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.
outputStream - The OutputStream object which data will be written to if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getFromComputeNodeAsync

public Observable getFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromComputeNodeAsync

public Observable getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.
fileGetFromComputeNodeOptions - Additional parameters for the operation

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromComputeNodeAsync

public ServiceFuture getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, final ServiceCallback serviceCallback)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.
fileGetFromComputeNodeOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromComputeNodeAsync

public ServiceFuture getFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback serviceCallback)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromComputeNodeWithServiceResponseAsync

public Observable<>> getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromComputeNodeWithServiceResponseAsync

public Observable<>> getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)

Returns the content of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the content of.
fileGetFromComputeNodeOptions - Additional parameters for the operation

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromTask

public void getFromTask(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, OutputStream outputStream)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.
fileGetFromTaskOptions - Additional parameters for the operation
outputStream - The OutputStream object which data will be written to if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getFromTask

public void getFromTask(String jobId, String taskId, String filePath, OutputStream outputStream)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.
outputStream - The OutputStream object which data will be written to if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getFromTaskAsync

public Observable getFromTaskAsync(String jobId, String taskId, String filePath)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromTaskAsync

public Observable getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.
fileGetFromTaskOptions - Additional parameters for the operation

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromTaskAsync

public ServiceFuture getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, final ServiceCallback serviceCallback)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.
fileGetFromTaskOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromTaskAsync

public ServiceFuture getFromTaskAsync(String jobId, String taskId, String filePath, final ServiceCallback serviceCallback)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromTaskWithServiceResponseAsync

public Observable<>> getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getFromTaskWithServiceResponseAsync

public Observable<>> getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)

Returns the content of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to retrieve.
filePath - The path to the task file that you want to get the content of.
fileGetFromTaskOptions - Additional parameters for the operation

Returns:

the observable to the InputStream object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromComputeNode

public void getPropertiesFromComputeNode(String poolId, String nodeId, String filePath)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getPropertiesFromComputeNode

public void getPropertiesFromComputeNode(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.
fileGetPropertiesFromComputeNodeOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getPropertiesFromComputeNodeAsync

public Observable getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromComputeNodeAsync

public Observable getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.
fileGetPropertiesFromComputeNodeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromComputeNodeAsync

public ServiceFuture getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions, final ServiceCallback serviceCallback)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.
fileGetPropertiesFromComputeNodeOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromComputeNodeAsync

public ServiceFuture getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, final ServiceCallback serviceCallback)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromComputeNodeWithServiceResponseAsync

public Observable<>> getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromComputeNodeWithServiceResponseAsync

public Observable<>> getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)

Gets the properties of the specified compute node file.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node that contains the file.
filePath - The path to the compute node file that you want to get the properties of.
fileGetPropertiesFromComputeNodeOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromTask

public void getPropertiesFromTask(String jobId, String taskId, String filePath)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getPropertiesFromTask

public void getPropertiesFromTask(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.
fileGetPropertiesFromTaskOptions - Additional parameters for the operation

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getPropertiesFromTaskAsync

public Observable getPropertiesFromTaskAsync(String jobId, String taskId, String filePath)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromTaskAsync

public Observable getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.
fileGetPropertiesFromTaskOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromTaskAsync

public ServiceFuture getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions, final ServiceCallback serviceCallback)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.
fileGetPropertiesFromTaskOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromTaskAsync

public ServiceFuture getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, final ServiceCallback serviceCallback)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromTaskWithServiceResponseAsync

public Observable<>> getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getPropertiesFromTaskWithServiceResponseAsync

public Observable<>> getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)

Gets the properties of the specified task file.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose file you want to get the properties of.
filePath - The path to the task file that you want to get the properties of.
fileGetPropertiesFromTaskOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNode

public PagedList listFromComputeNode(final String poolId, final String nodeId)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromComputeNode

public PagedList listFromComputeNode(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.
recursive - Whether to list children of a directory.
fileListFromComputeNodeOptions - Additional parameters for the operation

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromComputeNodeAsync

public Observable<>> listFromComputeNodeAsync(final String poolId, final String nodeId)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeAsync

public Observable<>> listFromComputeNodeAsync(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.
recursive - Whether to list children of a directory.
fileListFromComputeNodeOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeAsync

public ServiceFuture<>> listFromComputeNodeAsync(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions, final ListOperationCallback serviceCallback)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.
recursive - Whether to list children of a directory.
fileListFromComputeNodeOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeAsync

public ServiceFuture<>> listFromComputeNodeAsync(final String poolId, final String nodeId, final ListOperationCallback serviceCallback)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeNext

public PagedList listFromComputeNodeNext(final String nextPageLink)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromComputeNodeNext

public PagedList listFromComputeNodeNext(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromComputeNodeNextOptions - Additional parameters for the operation

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromComputeNodeNextAsync

public Observable<>> listFromComputeNodeNextAsync(final String nextPageLink)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeNextAsync

public Observable<>> listFromComputeNodeNextAsync(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromComputeNodeNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeNextAsync

public ServiceFuture<>> listFromComputeNodeNextAsync(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromComputeNodeNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeNextAsync

public ServiceFuture<>> listFromComputeNodeNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeNextWithServiceResponseAsync

public Observable<><>, FileListFromComputeNodeHeaders>> listFromComputeNodeNextWithServiceResponseAsync(final String nextPageLink)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeNextWithServiceResponseAsync

public Observable<><>, FileListFromComputeNodeHeaders>> listFromComputeNodeNextWithServiceResponseAsync(final String nextPageLink, final FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)

Lists all of the files in task directories on the specified compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromComputeNodeNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeWithServiceResponseAsync

public Observable<><>, FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(final String poolId, final String nodeId)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromComputeNodeWithServiceResponseAsync

public Observable<><>, FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(final String poolId, final String nodeId, final Boolean recursive, final FileListFromComputeNodeOptions fileListFromComputeNodeOptions)

Lists all of the files in task directories on the specified compute node.

Parameters:

poolId - The ID of the pool that contains the compute node.
nodeId - The ID of the compute node whose files you want to list.
recursive - Whether to list children of a directory.
fileListFromComputeNodeOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTask

public PagedList listFromTask(final String jobId, final String taskId)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromTask

public PagedList listFromTask(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.
recursive - Whether to list children of the task directory. This parameter can be used in combination with the filter parameter to list specific type of files.
fileListFromTaskOptions - Additional parameters for the operation

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromTaskAsync

public Observable<>> listFromTaskAsync(final String jobId, final String taskId)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskAsync

public Observable<>> listFromTaskAsync(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.
recursive - Whether to list children of the task directory. This parameter can be used in combination with the filter parameter to list specific type of files.
fileListFromTaskOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskAsync

public ServiceFuture<>> listFromTaskAsync(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions, final ListOperationCallback serviceCallback)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.
recursive - Whether to list children of the task directory. This parameter can be used in combination with the filter parameter to list specific type of files.
fileListFromTaskOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskAsync

public ServiceFuture<>> listFromTaskAsync(final String jobId, final String taskId, final ListOperationCallback serviceCallback)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskNext

public PagedList listFromTaskNext(final String nextPageLink)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromTaskNext

public PagedList listFromTaskNext(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromTaskNextOptions - Additional parameters for the operation

Returns:

the PagedList<NodeFile> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
BatchErrorException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listFromTaskNextAsync

public Observable<>> listFromTaskNextAsync(final String nextPageLink)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskNextAsync

public Observable<>> listFromTaskNextAsync(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromTaskNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskNextAsync

public ServiceFuture<>> listFromTaskNextAsync(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromTaskNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskNextAsync

public ServiceFuture<>> listFromTaskNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskNextWithServiceResponseAsync

public Observable<><>, FileListFromTaskHeaders>> listFromTaskNextWithServiceResponseAsync(final String nextPageLink)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskNextWithServiceResponseAsync

public Observable<><>, FileListFromTaskHeaders>> listFromTaskNextWithServiceResponseAsync(final String nextPageLink, final FileListFromTaskNextOptions fileListFromTaskNextOptions)

Lists the files in a task's directory on its compute node.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
fileListFromTaskNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskWithServiceResponseAsync

public Observable<><>, FileListFromTaskHeaders>> listFromTaskWithServiceResponseAsync(final String jobId, final String taskId)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listFromTaskWithServiceResponseAsync

public Observable<><>, FileListFromTaskHeaders>> listFromTaskWithServiceResponseAsync(final String jobId, final String taskId, final Boolean recursive, final FileListFromTaskOptions fileListFromTaskOptions)

Lists the files in a task's directory on its compute node.

Parameters:

jobId - The ID of the job that contains the task.
taskId - The ID of the task whose files you want to list.
recursive - Whether to list children of the task directory. This parameter can be used in combination with the filter parameter to list specific type of files.
fileListFromTaskOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<NodeFile> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to