Interface ExecutionFileStoragePlugin
-
- All Superinterfaces:
ExecutionFileStorage
public interface ExecutionFileStoragePlugin extends ExecutionFileStorage
Plugin to implementExecutionFileStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
getConfiguredPathTemplate()
void
initialize(java.util.Map<java.lang.String,? extends java.lang.Object> context)
Initializes the plugin with contextual databoolean
isAvailable(java.lang.String filetype)
Returns true if the file for the context and the given filetype is available, false otherwisedefault boolean
isPartialAvailable(java.lang.String filetype)
Return true if the file type has partial content available, false otherwise-
Methods inherited from interface com.dtolabs.rundeck.core.logging.ExecutionFileStorage
deleteFile, partialRetrieve, partialStore, retrieve, store
-
-
-
-
Method Detail
-
initialize
void initialize(java.util.Map<java.lang.String,? extends java.lang.Object> context)
Initializes the plugin with contextual data- Parameters:
context
- context data
-
isAvailable
boolean isAvailable(java.lang.String filetype) throws ExecutionFileStorageException
Returns true if the file for the context and the given filetype is available, false otherwise- Parameters:
filetype
- file type or extension of the file to check- Returns:
- true if a file with the given filetype is available for the context
- Throws:
ExecutionFileStorageException
- if there is an error determining the availability
-
isPartialAvailable
default boolean isPartialAvailable(java.lang.String filetype) throws ExecutionFileStorageException
Return true if the file type has partial content available, false otherwise- Parameters:
filetype
- file type or extension of the file to check- Returns:
- true if a file with the given filetype is partially available
- Throws:
ExecutionFileStorageException
- if there is an error determining the availability
-
getConfiguredPathTemplate
default java.lang.String getConfiguredPathTemplate()
-
-