public class SubProcessIOFiles
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
SubProcessIOFiles(java.lang.String workerWorkingDirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Clean up the files that have been created on the local worker file system.
|
void |
copyOutPutFilesToBucket(SubProcessConfiguration configuration,
java.lang.String params)
Will copy the output files to the GCS path setup via the configuration.
|
java.nio.file.Path |
getErrFile() |
java.lang.String |
getErrFileLocation() |
java.nio.file.Path |
getOutFile() |
java.lang.String |
getOutFileLocation() |
java.nio.file.Path |
getResultFile() |
public SubProcessIOFiles(java.lang.String workerWorkingDirectory)
workerWorkingDirectory - public java.lang.String getErrFileLocation()
public java.lang.String getOutFileLocation()
public java.nio.file.Path getErrFile()
public java.nio.file.Path getOutFile()
public java.nio.file.Path getResultFile()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void copyOutPutFilesToBucket(SubProcessConfiguration configuration, java.lang.String params)
configuration - params -