Interface ExecutionFileLoader
-
public interface ExecutionFileLoaderState of file loader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetErrorCode()java.util.List<java.lang.String>getErrorData()java.io.FilegetFile()longgetRetryBackoff()ExecutionFileStategetState()default java.io.InputStreamgetStream()
-
-
-
Method Detail
-
getState
ExecutionFileState getState()
- Returns:
- state of loaded file
-
getErrorCode
java.lang.String getErrorCode()
- Returns:
- error code
-
getErrorData
java.util.List<java.lang.String> getErrorData()
- Returns:
- data for error code
-
getFile
java.io.File getFile()
- Returns:
- local file if loaded
-
getRetryBackoff
long getRetryBackoff()
- Returns:
- time in milliseconds the requestor should wait before requesting again
-
getStream
default java.io.InputStream getStream()
- Returns:
- the data as a stream
-
-