Interface ExecutionFileLoader
-
public interface ExecutionFileLoader
State of file loader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getErrorCode()
java.util.List<java.lang.String>
getErrorData()
java.io.File
getFile()
long
getRetryBackoff()
ExecutionFileState
getState()
default java.io.InputStream
getStream()
-
-
-
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
-
-