
prerna.engine.api.IRCloneStorage Maven / Gradle / Ivy
The newest version!
package prerna.engine.api;
import java.io.IOException;
import java.util.List;
import java.util.Map;
public interface IRCloneStorage extends IStorageEngine {
/**
* Determine if a shared/created r clone config can be shared between methods
* @return
*/
boolean canReuseRcloneConfig();
/**
* Set the folder path for writing the config files on execution
* @param folderPath
*/
void setRCloneConfigFolder(String folderPath);
/**
* This method is responsible for creating the specific r clone configuration object for this storage type
* @throws IOException
* @throws InterruptedException
*/
String createRCloneConfig() throws IOException, InterruptedException;
/**
*
* @param rCloneConfig
* @throws IOException
* @throws InterruptedException
*/
void deleteRcloneConfig(String rCloneConfig) throws IOException, InterruptedException;
/**
* Lists the folders and files for the relative path provided
* Note - not recursive
* @param path
* @param rCloneConfig
* @return
* @throws IOException
* @throws InterruptedException
*/
List list(String path, String rCloneConfig) throws IOException, InterruptedException;
/**
*
* @param path
* @return
* @throws IOException
* @throws InterruptedException
*/
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy