SYMBOL INDEX (847 symbols across 139 files) FILE: src/cucumber/java/io/linuxserver/davos/bdd/ClientStepDefs.java class ClientStepDefs (line 23) | public class ClientStepDefs { method after (line 31) | @After("@Client") method davos_connects_to_the_server (line 36) | @When("^davos connects to the server$") method davos_connects_to_the_SFTP_server (line 47) | @When("^davos connects to the SFTP server$") method deletes_an_SFTP_directory (line 58) | @When("^deletes an SFTP directory$") method the_SFTP_directory_is_deleted_on_the_server (line 63) | @Then("^the SFTP directory is deleted on the server$") method listing_the_files_will_show_the_correct_files (line 68) | @Then("^listing the files will show the correct files$") method downloads_a_file (line 79) | @When("^downloads a file$") method the_file_is_located_in_the_specified_local_directory (line 84) | @Then("^the file is located in the specified local directory$") method initialises_a_Progress_Listener_for_that_connection (line 92) | @When("^initialises a Progress Listener for that connection$") method the_Progress_Listener_will_have_its_values_updated (line 99) | @Then("^the Progress Listener will have its values updated$") method deletes_a_directory (line 106) | @When("^deletes a directory$") method the_directory_is_deleted_on_the_server (line 111) | @Then("^the directory is deleted on the server$") class CountingFTPProgressListener (line 116) | class CountingFTPProgressListener extends ProgressListener { method setBytesWritten (line 120) | @Override method getTimesCalled (line 126) | public int getTimesCalled() { FILE: src/cucumber/java/io/linuxserver/davos/bdd/ScheduleStepDefs.java class ScheduleStepDefs (line 21) | public class ScheduleStepDefs { method a_schedule_exists_for_that_server_with_filters (line 27) | @Given("^a schedule exists for that server, with filters$") method the_schedule_is_set_to_delete_host_files (line 41) | @Given("^the schedule is set to delete host files$") method the_schedule_is_set_to_invert_filters (line 46) | @Given("^the schedule is set to invert filters$") method the_schedule_is_set_to_have_mandatory_filters (line 51) | @Given("^the schedule is set to have mandatory filters$") method a_schedule_exists_for_that_server (line 56) | @Given("^a schedule exists for that server, without filters$") method that_schedule_is_run (line 61) | @When("^that schedule is run$") method no_files_are_downloaded (line 66) | @Then("^no files are downloaded$") method all_files_not_matching_the_filters_are_downloaded (line 78) | @Then("^all files not matching the filters are downloaded$") method those_files_are_deleted_on_the_host (line 92) | @Then("^those files are deleted on the host$") method only_the_filtered_files_are_downloaded (line 100) | @Then("^only the filtered files are downloaded$") method createBasicSchedule (line 115) | private void createBasicSchedule() { class CucumberScheduleConfigurationDAO (line 129) | class CucumberScheduleConfigurationDAO implements ScheduleDAO { method getAll (line 131) | @Override method fetchSchedule (line 136) | @Override method updateConfig (line 141) | @Override method fetchSchedulesUsingHost (line 146) | @Override method updateScannedFilesOnSchedule (line 152) | @Override method deleteSchedule (line 158) | @Override FILE: src/cucumber/java/io/linuxserver/davos/bdd/ServerStepDefs.java class ServerStepDefs (line 15) | public class ServerStepDefs { method there_is_an_FTP_server_running (line 19) | @Given("^there is an FTP server running$") method the_FTP_server_has_a_directory_with_contents (line 24) | @Given("^the FTP server has a directory with contents$") method the_FTP_server_has_a_directory_without_contents (line 29) | @Given("^the FTP server has a directory without contents$") method there_is_an_SFTP_server_running (line 34) | @Given("^there is an SFTP server running$") method the_SFTP_server_has_a_directory_with_contents (line 39) | @Given("^the SFTP server has a directory with contents$") method the_SFTP_server_has_a_directory_without_contents (line 50) | @Given("^the SFTP server has a directory without contents$") method after (line 55) | @After("@Server") method afterSFTP (line 60) | @After("@SFTPServer") FILE: src/cucumber/java/io/linuxserver/davos/bdd/helpers/FakeFTPServerFactory.java class FakeFTPServerFactory (line 10) | public class FakeFTPServerFactory { method getPort (line 14) | public static int getPort() { method setup (line 18) | public static FakeFtpServer setup() { method checkFileExists (line 36) | public static boolean checkFileExists(String filePath) { method addDirectoryWithNameAndNumberOfFiles (line 40) | public static void addDirectoryWithNameAndNumberOfFiles(String name, i... method stop (line 49) | public static void stop() { FILE: src/cucumber/java/io/linuxserver/davos/bdd/helpers/FakeSFTPServerFactory.java class FakeSFTPServerFactory (line 23) | public class FakeSFTPServerFactory { method setup (line 31) | public static void setup() throws IOException { method stop (line 59) | public static void stop() throws IOException { method addDirectoryWithNameAndNumberOfFiles (line 63) | public static void addDirectoryWithNameAndNumberOfFiles(String name, i... method getPort (line 73) | public static int getPort() { FILE: src/cucumber/java/io/linuxserver/davos/bdd/helpers/Logging.java class Logging (line 8) | public class Logging { method before (line 10) | @Before FILE: src/main/java/io/linuxserver/davos/DavosApplication.java class DavosApplication (line 6) | @SpringBootApplication method main (line 9) | public static void main(String[] args) { FILE: src/main/java/io/linuxserver/davos/Version.java class Version (line 3) | public class Version { method Version (line 9) | public Version(int major, int minor, int patch) { method Version (line 16) | public Version(String version) { method getMajor (line 25) | public int getMajor() { method getMinor (line 29) | public int getMinor() { method getPatch (line 33) | public int getPatch() { method isNewerThan (line 37) | public boolean isNewerThan(Version version) { method toString (line 53) | @Override FILE: src/main/java/io/linuxserver/davos/converters/Converter.java type Converter (line 3) | public interface Converter { method convertTo (line 5) | T convertTo(S source); method convertFrom (line 7) | S convertFrom(T source); FILE: src/main/java/io/linuxserver/davos/converters/HostConverter.java class HostConverter (line 10) | @Component method convertTo (line 13) | @Override method convertFrom (line 31) | @Override FILE: src/main/java/io/linuxserver/davos/converters/ScheduleConverter.java class ScheduleConverter (line 23) | @Component method convertTo (line 28) | @Override method convertFrom (line 97) | @Override FILE: src/main/java/io/linuxserver/davos/delegation/services/HostService.java type HostService (line 7) | public interface HostService { method fetchAllHosts (line 9) | List fetchAllHosts(); method fetchHost (line 11) | Host fetchHost(Long id); method saveHost (line 13) | Host saveHost(Host host); method deleteHost (line 15) | void deleteHost(Long id); method fetchSchedulesUsingHost (line 17) | List fetchSchedulesUsingHost(Long id); method testConnection (line 19) | void testConnection(Host host); FILE: src/main/java/io/linuxserver/davos/delegation/services/HostServiceImpl.java class HostServiceImpl (line 23) | @Component method fetchHost (line 37) | @Override method saveHost (line 42) | @Override method deleteHost (line 49) | @Override method fetchAllHosts (line 61) | @Override method toHost (line 66) | private Host toHost(HostModel model) { method fetchSchedulesUsingHost (line 70) | @Override method testConnection (line 75) | @Override FILE: src/main/java/io/linuxserver/davos/delegation/services/ScheduleService.java type ScheduleService (line 7) | public interface ScheduleService { method startSchedule (line 9) | void startSchedule(Long id); method stopSchedule (line 11) | void stopSchedule(Long id); method deleteSchedule (line 13) | void deleteSchedule(Long id); method fetchAllSchedules (line 15) | List fetchAllSchedules(); method fetchSchedule (line 17) | Schedule fetchSchedule(Long id); method createSchedule (line 19) | Schedule createSchedule(Schedule schedule); method updateSchedule (line 21) | Schedule updateSchedule(Schedule schedule); method clearScannedFilesFromSchedule (line 23) | void clearScannedFilesFromSchedule(Long id); FILE: src/main/java/io/linuxserver/davos/delegation/services/ScheduleServiceImpl.java class ScheduleServiceImpl (line 25) | @Component method startSchedule (line 45) | @Override method stopSchedule (line 53) | @Override method deleteSchedule (line 61) | @Override method fetchAllSchedules (line 73) | @Override method fetchSchedule (line 78) | @Override method createSchedule (line 83) | @Override method updateSchedule (line 91) | @Override method clearScannedFilesFromSchedule (line 106) | @Override method getHostForSchedule (line 114) | private HostModel getHostForSchedule(Long id) { method toSchedule (line 127) | private Schedule toSchedule(ScheduleModel model) { method toTransfer (line 142) | private Transfer toTransfer(FTPTransfer ftpTransfer) { FILE: src/main/java/io/linuxserver/davos/delegation/services/SettingsService.java type SettingsService (line 6) | public interface SettingsService { method setLoggingLevel (line 8) | void setLoggingLevel(LogLevelSelector level); method getCurrentLoggingLevel (line 10) | LogLevelSelector getCurrentLoggingLevel(); method retrieveRemoteVersion (line 12) | Version retrieveRemoteVersion(); FILE: src/main/java/io/linuxserver/davos/delegation/services/SettingsServiceImpl.java class SettingsServiceImpl (line 19) | @Component method setLoggingLevel (line 27) | @Override method getCurrentLoggingLevel (line 33) | @Override method retrieveRemoteVersion (line 38) | @Override FILE: src/main/java/io/linuxserver/davos/dto/ActionDTO.java class ActionDTO (line 6) | public class ActionDTO { method toString (line 16) | public String toString() { FILE: src/main/java/io/linuxserver/davos/dto/FTPFileDTO.java class FTPFileDTO (line 3) | public class FTPFileDTO { FILE: src/main/java/io/linuxserver/davos/dto/FilterDTO.java class FilterDTO (line 6) | public class FilterDTO { method toString (line 11) | public String toString() { FILE: src/main/java/io/linuxserver/davos/dto/HostDTO.java class HostDTO (line 5) | public class HostDTO { FILE: src/main/java/io/linuxserver/davos/dto/ScheduleDTO.java class ScheduleDTO (line 12) | public class ScheduleDTO { method toString (line 31) | public String toString() { FILE: src/main/java/io/linuxserver/davos/dto/ScheduleProcessResponse.java class ScheduleProcessResponse (line 3) | public class ScheduleProcessResponse { FILE: src/main/java/io/linuxserver/davos/exception/HostInUseException.java class HostInUseException (line 3) | public class HostInUseException extends RuntimeException { method HostInUseException (line 7) | public HostInUseException(String message) { FILE: src/main/java/io/linuxserver/davos/exception/ScheduleAlreadyRunningException.java class ScheduleAlreadyRunningException (line 3) | public class ScheduleAlreadyRunningException extends RuntimeException { method ScheduleAlreadyRunningException (line 7) | public ScheduleAlreadyRunningException() { FILE: src/main/java/io/linuxserver/davos/exception/ScheduleNotRunningException.java class ScheduleNotRunningException (line 3) | public class ScheduleNotRunningException extends RuntimeException { method ScheduleNotRunningException (line 7) | public ScheduleNotRunningException() { FILE: src/main/java/io/linuxserver/davos/logging/LoggingManager.java class LoggingManager (line 8) | public class LoggingManager { method enableDebug (line 12) | public static void enableDebug() { method disableDebug (line 17) | public static void disableDebug() { method setLogLevel (line 22) | public static void setLogLevel(Level level) { FILE: src/main/java/io/linuxserver/davos/persistence/dao/DefaultHostDAO.java class DefaultHostDAO (line 12) | @Component method saveHost (line 18) | @Override method fetchHost (line 23) | @Override method fetchAllHosts (line 28) | @Override method deleteHost (line 33) | @Override FILE: src/main/java/io/linuxserver/davos/persistence/dao/DefaultScheduleDAO.java class DefaultScheduleDAO (line 18) | @Component method getAll (line 26) | @Override method fetchSchedule (line 31) | @Override method updateConfig (line 36) | @Override method fetchSchedulesUsingHost (line 53) | @Override method updateScannedFilesOnSchedule (line 61) | @Override method toScannedFileModel (line 73) | private ScannedFileModel toScannedFileModel(String fileName, ScheduleM... method deleteSchedule (line 82) | @Override FILE: src/main/java/io/linuxserver/davos/persistence/dao/HostDAO.java type HostDAO (line 7) | public interface HostDAO { method saveHost (line 9) | HostModel saveHost(HostModel host); method fetchHost (line 11) | HostModel fetchHost(Long id); method fetchAllHosts (line 13) | List fetchAllHosts(); method deleteHost (line 15) | void deleteHost(Long id); FILE: src/main/java/io/linuxserver/davos/persistence/dao/ScheduleDAO.java type ScheduleDAO (line 7) | public interface ScheduleDAO { method getAll (line 9) | List getAll(); method fetchSchedulesUsingHost (line 11) | List fetchSchedulesUsingHost(Long hostId); method fetchSchedule (line 13) | ScheduleModel fetchSchedule(Long id); method updateConfig (line 15) | ScheduleModel updateConfig(ScheduleModel model); method updateScannedFilesOnSchedule (line 17) | void updateScannedFilesOnSchedule(Long id, List newlyScannedFi... method deleteSchedule (line 19) | void deleteSchedule(Long id); FILE: src/main/java/io/linuxserver/davos/persistence/model/ActionModel.java class ActionModel (line 10) | @Entity method toString (line 36) | @Override FILE: src/main/java/io/linuxserver/davos/persistence/model/FilterModel.java class FilterModel (line 10) | @Entity method toString (line 24) | @Override FILE: src/main/java/io/linuxserver/davos/persistence/model/HostModel.java class HostModel (line 17) | @Entity method isIdentityFileEnabled (line 48) | public boolean isIdentityFileEnabled() { method setIdentityFileEnabled (line 56) | public void setIdentityFileEnabled(boolean identityFileEnabled) { method toString (line 64) | @Override FILE: src/main/java/io/linuxserver/davos/persistence/model/ScannedFileModel.java class ScannedFileModel (line 10) | @Entity FILE: src/main/java/io/linuxserver/davos/persistence/model/ScheduleModel.java class ScheduleModel (line 21) | @Entity method getLastRunTime (line 58) | public long getLastRunTime() { method getFiltersMandatory (line 66) | public Boolean getFiltersMandatory() { method setLastRunTime (line 74) | public void setLastRunTime(long millis) { method setFiltersMandatory (line 78) | public void setFiltersMandatory(boolean filtersMandatory) { method getDeleteHostFile (line 82) | public Boolean getDeleteHostFile() { method setDeleteHostFile (line 90) | public void setDeleteHostFile(boolean deleteHostFile) { method getStartAutomatically (line 94) | public Boolean getStartAutomatically() { method setStartAutomatically (line 102) | public void setStartAutomatically(boolean startAutomatically) { method getInvertFilters (line 106) | public Boolean getInvertFilters() { method setInvertFilters (line 114) | public void setInvertFilters(boolean invertFilters) { method toString (line 137) | @Override FILE: src/main/java/io/linuxserver/davos/persistence/repository/HostRepository.java type HostRepository (line 9) | public interface HostRepository extends CrudRepository { method findAll (line 11) | List findAll(); FILE: src/main/java/io/linuxserver/davos/persistence/repository/ScheduleRepository.java type ScheduleRepository (line 9) | public interface ScheduleRepository extends CrudRepository findAll(); method findByHost_Id (line 13) | List findByHost_Id(Long hostId); FILE: src/main/java/io/linuxserver/davos/schedule/RunnableSchedule.java class RunnableSchedule (line 15) | public class RunnableSchedule implements Runnable { method RunnableSchedule (line 23) | public RunnableSchedule(Long scheduleId, ScheduleDAO configurationDAO) { method run (line 29) | @Override method getTransfers (line 50) | public List getTransfers() { FILE: src/main/java/io/linuxserver/davos/schedule/RunningSchedule.java class RunningSchedule (line 5) | public class RunningSchedule { method RunningSchedule (line 10) | public RunningSchedule(ScheduledFuture future, RunnableSchedule sch... method getFuture (line 15) | public ScheduledFuture getFuture() { method getSchedule (line 19) | public RunnableSchedule getSchedule() { FILE: src/main/java/io/linuxserver/davos/schedule/ScheduleConfiguration.java class ScheduleConfiguration (line 11) | public class ScheduleConfiguration { method ScheduleConfiguration (line 27) | public ScheduleConfiguration(final String scheduleName, final Transfer... method getConnectionType (line 44) | public TransferProtocol getConnectionType() { method getHostName (line 48) | public String getHostName() { method getPort (line 52) | public int getPort() { method getCredentials (line 56) | public UserCredentials getCredentials() { method getRemoteFilePath (line 60) | public String getRemoteFilePath() { method getLocalFilePath (line 64) | public String getLocalFilePath() { method getFilters (line 68) | public List getFilters() { method setFilters (line 72) | public void setFilters(List filters) { method getScheduleName (line 76) | public String getScheduleName() { method getActions (line 80) | public List getActions() { method setActions (line 84) | public void setActions(List actions) { method getTransferType (line 88) | public FileTransferType getTransferType() { method isFiltersMandatory (line 92) | public boolean isFiltersMandatory() { method isInvertFilters (line 96) | public boolean isInvertFilters() { method isDeleteHostFile (line 100) | public boolean isDeleteHostFile() { FILE: src/main/java/io/linuxserver/davos/schedule/ScheduleConfigurationFactory.java class ScheduleConfigurationFactory (line 16) | public class ScheduleConfigurationFactory { method createConfig (line 18) | public static ScheduleConfiguration createConfig(ScheduleModel model) { method buildCredentials (line 36) | private static UserCredentials buildCredentials(HostModel host) { method addActions (line 44) | private static void addActions(ScheduleModel model, ScheduleConfigurat... method addFilters (line 59) | private static void addFilters(ScheduleModel model, ScheduleConfigurat... FILE: src/main/java/io/linuxserver/davos/schedule/ScheduleExecutor.java class ScheduleExecutor (line 22) | @Component method ScheduleExecutor (line 34) | public ScheduleExecutor() { method isScheduleRunning (line 38) | public boolean isScheduleRunning(Long id) { method getRunningSchedule (line 42) | public RunningSchedule getRunningSchedule(Long id) { method runAutomaticStartupSchedules (line 46) | @PostConstruct method startSchedule (line 66) | public void startSchedule(Long id) throws ScheduleAlreadyRunningExcept... method stopSchedule (line 84) | public void stopSchedule(Long id) throws ScheduleNotRunningException { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/ConnectWorkflowStep.java class ConnectWorkflowStep (line 10) | public class ConnectWorkflowStep extends WorkflowStep { method ConnectWorkflowStep (line 16) | public ConnectWorkflowStep() { method runStep (line 20) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/DisconnectWorkflowStep.java class DisconnectWorkflowStep (line 8) | public class DisconnectWorkflowStep extends WorkflowStep { method runStep (line 12) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/DownloadFilesWorkflowStep.java class DownloadFilesWorkflowStep (line 15) | public class DownloadFilesWorkflowStep extends WorkflowStep { method DownloadFilesWorkflowStep (line 21) | public DownloadFilesWorkflowStep() { method runStep (line 25) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/FilterFilesWorkflowStep.java class FilterFilesWorkflowStep (line 19) | public class FilterFilesWorkflowStep extends WorkflowStep { method FilterFilesWorkflowStep (line 23) | public FilterFilesWorkflowStep() { method runStep (line 29) | @Override method noFilteringRequired (line 81) | private boolean noFilteringRequired(ScheduleWorkflow schedule, List fil... method removeCurrentAndParentDirs (line 124) | private Predicate removeCurrentAndParentDirs() { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/ScheduleWorkflow.java class ScheduleWorkflow (line 14) | public class ScheduleWorkflow { method ScheduleWorkflow (line 25) | public ScheduleWorkflow(ScheduleConfiguration config) { method getClient (line 29) | protected Client getClient() { method getConfig (line 33) | protected ScheduleConfiguration getConfig() { method getConnection (line 37) | protected Connection getConnection() { method start (line 41) | public void start() { method setConnection (line 48) | protected void setConnection(Connection connection) { method setClient (line 52) | protected void setClient(Client client) { method getFilesFromLastScan (line 56) | public List getFilesFromLastScan() { method getFilesToDownload (line 60) | public List getFilesToDownload() { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/WorkflowStep.java class WorkflowStep (line 3) | public abstract class WorkflowStep { method runStep (line 8) | abstract public void runStep(ScheduleWorkflow schedule); FILE: src/main/java/io/linuxserver/davos/schedule/workflow/actions/HttpAPICallAction.java class HttpAPICallAction (line 12) | public class HttpAPICallAction implements PostDownloadAction { method HttpAPICallAction (line 23) | public HttpAPICallAction(String url, String method, String contentType... method execute (line 31) | @Override method toString (line 51) | @Override method resolveFilename (line 56) | private String resolveFilename(String value, String filename) { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/actions/MoveFileAction.java class MoveFileAction (line 10) | public class MoveFileAction implements PostDownloadAction { method MoveFileAction (line 19) | public MoveFileAction(String currentFilePath, String newFilePath) { method execute (line 25) | @Override method toString (line 41) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/actions/PostDownloadAction.java type PostDownloadAction (line 3) | public interface PostDownloadAction { method execute (line 5) | void execute(PostDownloadExecution execution); FILE: src/main/java/io/linuxserver/davos/schedule/workflow/actions/PostDownloadExecution.java class PostDownloadExecution (line 3) | public class PostDownloadExecution { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/actions/PushbulletNotifyAction.java class PushbulletNotifyAction (line 13) | public class PushbulletNotifyAction implements PostDownloadAction { method PushbulletNotifyAction (line 19) | public PushbulletNotifyAction(String apiKey) { method execute (line 23) | @Override method toString (line 50) | @Override class PushbulletRequest (line 55) | class PushbulletRequest { method toString (line 61) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/actions/SNSNotifyAction.java class SNSNotifyAction (line 15) | public class SNSNotifyAction implements PostDownloadAction { method SNSNotifyAction (line 26) | public SNSNotifyAction(String region, String arn, String accessKey, St... method execute (line 34) | @Override method formatJsonMessage (line 59) | private String formatJsonMessage(String message) { method toString (line 63) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/filter/FileFilter.java type FileFilter (line 7) | public interface FileFilter { method filter (line 9) | List filter(List allFiles); FILE: src/main/java/io/linuxserver/davos/schedule/workflow/filter/ReferentialFileFilter.java class ReferentialFileFilter (line 13) | public class ReferentialFileFilter implements FileFilter { method ReferentialFileFilter (line 19) | public ReferentialFileFilter(List files) { method filter (line 23) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/filter/TemporalFileFilter.java class TemporalFileFilter (line 14) | public class TemporalFileFilter implements FileFilter { method TemporalFileFilter (line 20) | public TemporalFileFilter(DateTime lastRun) { method filter (line 24) | @Override method after (line 29) | private Predicate after(DateTime lastRun) { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/transfer/FTPTransfer.java class FTPTransfer (line 6) | public class FTPTransfer { method FTPTransfer (line 12) | public FTPTransfer(FTPFile file) { method getFile (line 16) | public FTPFile getFile() { method getListener (line 20) | public ProgressListener getListener() { method setListener (line 24) | public void setListener(ProgressListener listener) { method getState (line 28) | public State getState() { method setState (line 32) | public void setState(State state) { type State (line 36) | public enum State { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/transfer/FilesAndFoldersTranferStrategy.java class FilesAndFoldersTranferStrategy (line 10) | public class FilesAndFoldersTranferStrategy extends TransferStrategy { method FilesAndFoldersTranferStrategy (line 14) | public FilesAndFoldersTranferStrategy(Connection connection) { method transferFile (line 18) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/transfer/FilesOnlyTransferStrategy.java class FilesOnlyTransferStrategy (line 10) | public class FilesOnlyTransferStrategy extends TransferStrategy { method FilesOnlyTransferStrategy (line 14) | public FilesOnlyTransferStrategy(Connection connection) { method transferFile (line 18) | @Override FILE: src/main/java/io/linuxserver/davos/schedule/workflow/transfer/TransferStrategy.java class TransferStrategy (line 14) | public abstract class TransferStrategy { method TransferStrategy (line 21) | public TransferStrategy(Connection connection) { method setPostDownloadActions (line 25) | public void setPostDownloadActions(List postDownlo... method toString (line 29) | @Override method transferFile (line 34) | public abstract void transferFile(FTPTransfer fileToTransfer, String d... method runPostDownloadAction (line 36) | protected void runPostDownloadAction(FTPFile file) { FILE: src/main/java/io/linuxserver/davos/schedule/workflow/transfer/TransferStrategyFactory.java class TransferStrategyFactory (line 6) | public class TransferStrategyFactory { method getStrategy (line 8) | public TransferStrategy getStrategy(FileTransferType type, Connection ... FILE: src/main/java/io/linuxserver/davos/transfer/ftp/FTPFile.java class FTPFile (line 7) | public class FTPFile { method FTPFile (line 15) | public FTPFile(String name, long size, String path, long mTime, boolea... method getName (line 24) | public String getName() { method getSize (line 28) | public long getSize() { method getPath (line 32) | public String getPath() { method getLastModified (line 36) | public DateTime getLastModified() { method isDirectory (line 40) | public boolean isDirectory() { method toString (line 44) | @Override FILE: src/main/java/io/linuxserver/davos/transfer/ftp/FileTransferType.java type FileTransferType (line 3) | public enum FileTransferType { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/TransferProtocol.java type TransferProtocol (line 3) | public enum TransferProtocol { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/client/Client.java class Client (line 5) | public abstract class Client { method setCredentials (line 12) | public void setCredentials(UserCredentials userCredentials) { method setHost (line 16) | public void setHost(String host) { method setPort (line 20) | public void setPort(int port) { method connect (line 24) | public abstract Connection connect(); method disconnect (line 26) | public abstract void disconnect(); FILE: src/main/java/io/linuxserver/davos/transfer/ftp/client/ClientFactory.java class ClientFactory (line 5) | public class ClientFactory { method getClient (line 7) | public Client getClient(TransferProtocol protocol) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/client/FTPClient.java class FTPClient (line 16) | public class FTPClient extends Client { method FTPClient (line 24) | public FTPClient() { method connect (line 30) | public Connection connect() { method disconnect (line 45) | public void disconnect() { method connectClientAndCheckStatus (line 63) | private void connectClientAndCheckStatus() throws SocketException, IOE... method login (line 81) | private void login() throws IOException, FTPException { method setSpecificModesOnClient (line 95) | private void setSpecificModesOnClient() throws IOException { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/client/FTPSClient.java class FTPSClient (line 6) | public class FTPSClient extends FTPClient { method FTPSClient (line 10) | public FTPSClient() { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/client/SFTPClient.java class SFTPClient (line 17) | public class SFTPClient extends Client { method SFTPClient (line 27) | public SFTPClient() { method connect (line 33) | @Override method disconnect (line 51) | @Override method configureSessionAndConnect (line 63) | private void configureSessionAndConnect() throws JSchException { method openChannelFromSession (line 91) | private void openChannelFromSession() throws JSchException { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/client/UserCredentials.java class UserCredentials (line 3) | public class UserCredentials { method UserCredentials (line 11) | public UserCredentials(final String username, final String password) { method UserCredentials (line 17) | public UserCredentials(final String username, final Identity identity) { method getIdentity (line 23) | public Identity getIdentity() { method getUsername (line 27) | public String getUsername() { method getPassword (line 31) | public String getPassword() { class Identity (line 35) | public static class Identity { method Identity (line 39) | public Identity(String identityFile) { method getIdentityFile (line 43) | public String getIdentityFile() { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/Connection.java type Connection (line 9) | public interface Connection { method currentDirectory (line 11) | String currentDirectory() throws FTPException; method download (line 13) | void download(FTPFile remoteFilePath, String localFilePath) throws FTP... method deleteRemoteFile (line 15) | void deleteRemoteFile(FTPFile file) throws FTPException; method listFiles (line 17) | List listFiles() throws FTPException; method listFiles (line 19) | List listFiles(String remoteDirectory) throws FTPException; method setProgressListener (line 21) | void setProgressListener(ProgressListener progressListener); FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/ConnectionFactory.java class ConnectionFactory (line 9) | public class ConnectionFactory { method createSFTPConnection (line 13) | public SFTPConnection createSFTPConnection(Channel channel) { method createFTPConnection (line 18) | public FTPConnection createFTPConnection(org.apache.commons.net.ftp.FT... FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/FTPConnection.java class FTPConnection (line 24) | public class FTPConnection implements Connection { method FTPConnection (line 33) | public FTPConnection(org.apache.commons.net.ftp.FTPClient client) { method currentDirectory (line 37) | @Override method download (line 49) | @Override method listFiles (line 74) | @Override method listFiles (line 79) | @Override method setProgressListener (line 102) | @Override method listenOn (line 107) | private CountingOutputStream listenOn(OutputStream outputStream) { method doDownload (line 124) | private void doDownload(FTPFile file, String cleanRemotePath, String c... method downloadDirectoryAndContents (line 152) | private void downloadDirectoryAndContents(FTPFile file, String localDo... method removeCurrentAndParentDirs (line 180) | private Predicate removeCurrentAndParentDirs() { method toFtpFile (line 184) | private FTPFile toFtpFile(org.apache.commons.net.ftp.FTPFile ftpFile, ... method deleteRemoteFile (line 194) | @Override method deleteDirectoryAndContents (line 214) | private void deleteDirectoryAndContents(FTPFile file, String remoteDir... method doDelete (line 236) | private void doDelete(String subItemPath) throws IOException { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/SFTPConnection.java class SFTPConnection (line 25) | public class SFTPConnection implements Connection { method SFTPConnection (line 33) | public SFTPConnection(ChannelSftp channel) { method currentDirectory (line 37) | @Override method download (line 49) | @Override method listFiles (line 70) | @Override method listFiles (line 75) | @Override method setProgressListener (line 102) | @Override method doGet (line 107) | private void doGet(String fullRemotePath, String fullLocalDownloadPath... method downloadDirectoryAndContents (line 120) | private void downloadDirectoryAndContents(FTPFile file, String localDo... method removeCurrentAndParentDirs (line 150) | private Predicate removeCurrentAndParentDirs() { method toFtpFile (line 154) | private FTPFile toFtpFile(LsEntry lsEntry, String filePath) throws Sft... method deleteRemoteFile (line 164) | @Override method deleteDirectoryAndContents (line 184) | private void deleteDirectoryAndContents(FTPFile file, String remoteDir... method doDelete (line 206) | private void doDelete(String subItemPath) throws SftpException { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/progress/ListenerFactory.java class ListenerFactory (line 8) | public class ListenerFactory { method createListener (line 12) | public ProgressListener createListener(TransferProtocol protocol) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/progress/ProgressListener.java class ProgressListener (line 3) | public class ProgressListener { method getProgress (line 11) | public double getProgress() { method getTransferSpeed (line 19) | public double getTransferSpeed() { method reset (line 23) | public void reset() { method updateBytesWritten (line 27) | public void updateBytesWritten(long bytes) { method setBytesWritten (line 31) | public void setBytesWritten(long bytesWritten) { method setTotalBytes (line 43) | public void setTotalBytes(long totalBytes) { method start (line 47) | public void start() { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/connection/progress/SFTPProgressListener.java class SFTPProgressListener (line 5) | public class SFTPProgressListener extends ProgressListener implements Sf... method init (line 7) | @Override method count (line 14) | @Override method end (line 20) | @Override FILE: src/main/java/io/linuxserver/davos/transfer/ftp/exception/ClientConnectionException.java class ClientConnectionException (line 3) | public class ClientConnectionException extends FTPException { method ClientConnectionException (line 7) | public ClientConnectionException() { method ClientConnectionException (line 11) | public ClientConnectionException(String message) { method ClientConnectionException (line 15) | public ClientConnectionException(String message, Exception cause) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/exception/ClientDisconnectException.java class ClientDisconnectException (line 3) | public class ClientDisconnectException extends FTPException { method ClientDisconnectException (line 7) | public ClientDisconnectException() { method ClientDisconnectException (line 11) | public ClientDisconnectException(String message) { method ClientDisconnectException (line 15) | public ClientDisconnectException(String message, Exception cause) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/exception/DeleteFileException.java class DeleteFileException (line 3) | public class DeleteFileException extends FTPException { method DeleteFileException (line 7) | public DeleteFileException() { method DeleteFileException (line 11) | public DeleteFileException(String message) { method DeleteFileException (line 15) | public DeleteFileException(String message, Exception cause) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/exception/DownloadFailedException.java class DownloadFailedException (line 3) | public class DownloadFailedException extends FTPException { method DownloadFailedException (line 7) | public DownloadFailedException() { method DownloadFailedException (line 11) | public DownloadFailedException(String message) { method DownloadFailedException (line 15) | public DownloadFailedException(String message, Exception cause) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/exception/FTPException.java class FTPException (line 3) | public abstract class FTPException extends RuntimeException { method FTPException (line 7) | public FTPException() { method FTPException (line 11) | public FTPException(String message) { method FTPException (line 15) | public FTPException(String message, Exception cause) { FILE: src/main/java/io/linuxserver/davos/transfer/ftp/exception/FileListingException.java class FileListingException (line 3) | public class FileListingException extends FTPException { method FileListingException (line 7) | public FileListingException() { method FileListingException (line 11) | public FileListingException(String message) { method FileListingException (line 15) | public FileListingException(String message, Exception cause) { FILE: src/main/java/io/linuxserver/davos/util/FileStreamFactory.java class FileStreamFactory (line 8) | public class FileStreamFactory { method createInputStream (line 10) | public FileInputStream createInputStream(String filePath) throws FileN... method createOutputStream (line 14) | public FileOutputStream createOutputStream(String filePath) throws Fil... FILE: src/main/java/io/linuxserver/davos/util/FileUtils.java class FileUtils (line 9) | public class FileUtils { method getFile (line 13) | public File getFile(String filePath) { method moveFileToDirectory (line 17) | public void moveFileToDirectory(String oldPath, String newPath) throws... method createLocalDirectory (line 21) | public void createLocalDirectory(String directoryPath) { method ensureTrailingSlash (line 28) | public static String ensureTrailingSlash(String path) { FILE: src/main/java/io/linuxserver/davos/util/PatternBuilder.java class PatternBuilder (line 3) | public class PatternBuilder { method buildFromFilterString (line 5) | public static String buildFromFilterString(String filter) { FILE: src/main/java/io/linuxserver/davos/web/API.java class API (line 8) | public class API { method getId (line 16) | public Long getId() { method setId (line 20) | public void setId(Long id) { method getUrl (line 24) | public String getUrl() { method setUrl (line 28) | public void setUrl(String url) { method getMethod (line 32) | public MethodSelector getMethod() { method setMethod (line 36) | public void setMethod(MethodSelector method) { method getContentType (line 40) | public String getContentType() { method setContentType (line 44) | public void setContentType(String contentType) { method getBody (line 48) | public String getBody() { method setBody (line 52) | public void setBody(String body) { method toString (line 56) | @Override FILE: src/main/java/io/linuxserver/davos/web/Filter.java class Filter (line 6) | public class Filter { method getValue (line 11) | public String getValue() { method setValue (line 15) | public void setValue(String value) { method getId (line 19) | public Long getId() { method setId (line 23) | public void setId(Long id) { method toString (line 27) | @Override FILE: src/main/java/io/linuxserver/davos/web/Host.java class Host (line 8) | public class Host { method getId (line 20) | public Long getId() { method setId (line 24) | public void setId(Long id) { method getName (line 28) | public String getName() { method setName (line 32) | public void setName(String name) { method getAddress (line 36) | public String getAddress() { method setAddress (line 40) | public void setAddress(String address) { method getPort (line 44) | public int getPort() { method setPort (line 48) | public void setPort(int port) { method getProtocol (line 52) | public ProtocolSelector getProtocol() { method setProtocol (line 56) | public void setProtocol(ProtocolSelector protocol) { method getUsername (line 60) | public String getUsername() { method setUsername (line 64) | public void setUsername(String username) { method getPassword (line 68) | public String getPassword() { method setPassword (line 72) | public void setPassword(String password) { method toString (line 76) | @Override method getIdentityFile (line 81) | public String getIdentityFile() { method setIdentityFile (line 85) | public void setIdentityFile(String identityFile) { method isIdentityFileEnabled (line 89) | public boolean isIdentityFileEnabled() { method setIdentityFileEnabled (line 93) | public void setIdentityFileEnabled(boolean identityFileEnabled) { FILE: src/main/java/io/linuxserver/davos/web/Notifications.java class Notifications (line 6) | public class Notifications { method getPushbullet (line 11) | public List getPushbullet() { method getSns (line 15) | public List getSns() { method setPushbullet (line 19) | public void setPushbullet(List pushbullet) { method setSns (line 23) | public void setSns(List sns) { FILE: src/main/java/io/linuxserver/davos/web/Pushbullet.java class Pushbullet (line 6) | public class Pushbullet { method getId (line 11) | public Long getId() { method setId (line 15) | public void setId(Long id) { method getApiKey (line 19) | public String getApiKey() { method setApiKey (line 23) | public void setApiKey(String apiKey) { method toString (line 27) | @Override FILE: src/main/java/io/linuxserver/davos/web/SNS.java class SNS (line 3) | public class SNS { method getTopicArn (line 11) | public String getTopicArn() { method setTopicArn (line 15) | public void setTopicArn(String topicArn) { method getRegion (line 19) | public String getRegion() { method setRegion (line 23) | public void setRegion(String region) { method getAccessKey (line 27) | public String getAccessKey() { method setAccessKey (line 31) | public void setAccessKey(String accessKey) { method getSecretAccessKey (line 35) | public String getSecretAccessKey() { method setSecretAccessKey (line 39) | public void setSecretAccessKey(String secretAccessKey) { method getId (line 43) | public Long getId() { method setId (line 47) | public void setId(Long id) { FILE: src/main/java/io/linuxserver/davos/web/Schedule.java class Schedule (line 11) | public class Schedule { method getId (line 34) | public Long getId() { method setId (line 38) | public void setId(Long id) { method getName (line 42) | public String getName() { method setName (line 46) | public void setName(String name) { method getInterval (line 50) | public int getInterval() { method setInterval (line 54) | public void setInterval(int interval) { method getHost (line 58) | public Long getHost() { method setHost (line 62) | public void setHost(Long host) { method getHostDirectory (line 66) | public String getHostDirectory() { method setHostDirectory (line 70) | public void setHostDirectory(String hostDirectory) { method getLocalDirectory (line 74) | public String getLocalDirectory() { method setLocalDirectory (line 78) | public void setLocalDirectory(String localDirectory) { method getTransferType (line 82) | public TransferSelector getTransferType() { method setTransferType (line 86) | public void setTransferType(TransferSelector transferType) { method isAutomatic (line 90) | public boolean isAutomatic() { method setAutomatic (line 94) | public void setAutomatic(boolean automatic) { method getFilters (line 98) | public List getFilters() { method getMoveFileTo (line 102) | public String getMoveFileTo() { method setMoveFileTo (line 106) | public void setMoveFileTo(String moveFileTo) { method getApis (line 110) | public List getApis() { method isRunning (line 114) | public boolean isRunning() { method setRunning (line 118) | public void setRunning(boolean running) { method toString (line 122) | @Override method getLastScannedFiles (line 127) | public List getLastScannedFiles() { method getTransfers (line 131) | public List getTransfers() { method isFiltersMandatory (line 135) | public boolean isFiltersMandatory() { method setFiltersMandatory (line 139) | public void setFiltersMandatory(boolean filtersMandatory) { method isInvertFilters (line 143) | public boolean isInvertFilters() { method setInvertFilters (line 147) | public void setInvertFilters(boolean invertFilters) { method isDeleteHostFile (line 151) | public boolean isDeleteHostFile() { method setDeleteHostFile (line 155) | public void setDeleteHostFile(boolean deleteHostFile) { method getNotifications (line 159) | public Notifications getNotifications() { method setNotifications (line 163) | public void setNotifications(Notifications notifications) { method setLastRunTime (line 167) | public void setLastRunTime(String lastRunTime) { method getLastRunTime (line 171) | public String getLastRunTime() { FILE: src/main/java/io/linuxserver/davos/web/ScheduleCommand.java class ScheduleCommand (line 3) | public class ScheduleCommand { type Command (line 7) | public enum Command { FILE: src/main/java/io/linuxserver/davos/web/Settings.java class Settings (line 5) | public class Settings { method getLogLevel (line 9) | public LogLevelSelector getLogLevel() { method setLogLevel (line 13) | public void setLogLevel(LogLevelSelector logLevel) { FILE: src/main/java/io/linuxserver/davos/web/Transfer.java class Transfer (line 3) | public class Transfer { method getFileName (line 11) | public String getFileName() { method setFileName (line 15) | public void setFileName(String fileName) { method getFileSize (line 19) | public long getFileSize() { method setFileSize (line 23) | public void setFileSize(long fileSize) { method isDirectory (line 27) | public boolean isDirectory() { method setDirectory (line 31) | public void setDirectory(boolean directory) { method getProgress (line 35) | public Progress getProgress() { method setProgress (line 39) | public void setProgress(Progress progress) { method getStatus (line 43) | public String getStatus() { method setStatus (line 47) | public void setStatus(String status) { class Progress (line 51) | public static class Progress { method getPercentageComplete (line 56) | public double getPercentageComplete() { method setPercentageComplete (line 60) | public void setPercentageComplete(double percentageComplete) { method getTransferSpeed (line 64) | public double getTransferSpeed() { method setTransferSpeed (line 68) | public void setTransferSpeed(double transferSpeed) { FILE: src/main/java/io/linuxserver/davos/web/VersionChecker.java class VersionChecker (line 8) | public class VersionChecker { method VersionChecker (line 15) | public VersionChecker(Version currentVersion, Version remoteVersion) { method isNewVersionAvailable (line 23) | public boolean isNewVersionAvailable() { method getNewVersion (line 27) | public String getNewVersion() { FILE: src/main/java/io/linuxserver/davos/web/controller/APIController.java class APIController (line 29) | @RestController method createSchedule (line 44) | @RequestMapping(value = "/schedule", method = RequestMethod.POST) method isSchedulePostPayloadValid (line 72) | private boolean isSchedulePostPayloadValid(Schedule schedule) { method fetchSchedule (line 85) | @RequestMapping(value = "/schedule/{id}", method = RequestMethod.GET) method updateSchedule (line 94) | @RequestMapping(value = "/schedule/{id}", method = RequestMethod.PUT) method deleteSchedule (line 108) | @RequestMapping(value = "/schedule/{id}", method = RequestMethod.DELETE) method deleteScheduleScannedFiles (line 117) | @RequestMapping(value = "/schedule/{id}/scannedFiles", method = Reques... method executeSchedule (line 126) | @RequestMapping(value = "/schedule/{id}/execute", method = RequestMeth... method getHost (line 138) | @RequestMapping(value = "/host/{id}", method = RequestMethod.GET) method createHost (line 147) | @RequestMapping(value = "/host", method = RequestMethod.POST) method updateHost (line 158) | @RequestMapping(value = "/host/{id}", method = RequestMethod.PUT) method deleteHost (line 172) | @RequestMapping(value = "/host/{id}", method = RequestMethod.DELETE) method testConnection (line 186) | @RequestMapping(value = "/testConnection", method = RequestMethod.POST) method setLogLevel (line 206) | @RequestMapping(value = "/settings/log", method = RequestMethod.POST) method handleException (line 214) | @ExceptionHandler(Exception.class) FILE: src/main/java/io/linuxserver/davos/web/controller/FragmentController.java class FragmentController (line 18) | @Controller method populateMethods (line 25) | @ModelAttribute("allMethods") method filter (line 30) | @RequestMapping("/filter") method notificationPushbullet (line 38) | @RequestMapping("/notification/pushbullet") method notificationSns (line 43) | @RequestMapping("/notification/sns") method api (line 48) | @RequestMapping("/api") method transfers (line 53) | @RequestMapping("/schedule/{id}/transfers") FILE: src/main/java/io/linuxserver/davos/web/controller/ViewController.java class ViewController (line 29) | @Controller method currentVersion (line 44) | @ModelAttribute("currentVersion") method populateIntervals (line 49) | @ModelAttribute("allIntervals") method versionChecker (line 54) | @ModelAttribute("versionChecker") method populateProtocols (line 59) | @ModelAttribute("allProtocols") method populateTypes (line 64) | @ModelAttribute("allTransferTypes") method populateMethods (line 69) | @ModelAttribute("allMethods") method allHosts (line 74) | @ModelAttribute("allHosts") method allLogLevels (line 79) | @ModelAttribute("allLogLevels") method index (line 84) | @RequestMapping("/") method settings (line 89) | @RequestMapping("/settings") method schedules (line 100) | @RequestMapping("/schedules") method newSchedule (line 107) | @RequestMapping("/schedules/new") method schedules (line 114) | @RequestMapping("/schedules/{id}") method hosts (line 121) | @RequestMapping("/hosts") method newHost (line 126) | @RequestMapping("/hosts/new") method hosts (line 133) | @RequestMapping("/hosts/{id}") FILE: src/main/java/io/linuxserver/davos/web/controller/response/APIResponse.java class APIResponse (line 3) | public class APIResponse { method withBody (line 8) | public APIResponse withBody(Object body) { method withStatus (line 14) | public APIResponse withStatus(String status) { FILE: src/main/java/io/linuxserver/davos/web/controller/response/APIResponseBuilder.java class APIResponseBuilder (line 3) | public class APIResponseBuilder { method create (line 5) | public static APIResponse create() { FILE: src/main/java/io/linuxserver/davos/web/selectors/IntervalSelector.java type IntervalSelector (line 3) | public enum IntervalSelector { method IntervalSelector (line 17) | private IntervalSelector(int minutes, String text) { method getMinutes (line 25) | public int getMinutes() { method getText (line 29) | public String getText() { FILE: src/main/java/io/linuxserver/davos/web/selectors/LogLevelSelector.java type LogLevelSelector (line 3) | public enum LogLevelSelector { FILE: src/main/java/io/linuxserver/davos/web/selectors/MethodSelector.java type MethodSelector (line 3) | public enum MethodSelector { FILE: src/main/java/io/linuxserver/davos/web/selectors/ProtocolSelector.java type ProtocolSelector (line 3) | public enum ProtocolSelector { FILE: src/main/java/io/linuxserver/davos/web/selectors/TransferSelector.java type TransferSelector (line 3) | public enum TransferSelector { FILE: src/test/java/io/linuxserver/davos/VersionTest.java class VersionTest (line 9) | public class VersionTest { method shouldSetVersionBitsFromString (line 11) | @Test method shouldSetVersionBits (line 21) | @Test method shouldCompareToOthers (line 31) | @Test FILE: src/test/java/io/linuxserver/davos/delegation/services/ScheduleServiceImplTest.java class ScheduleServiceImplTest (line 30) | public class ScheduleServiceImplTest { method before (line 50) | @Before method shouldStartScheduleFromExecutor (line 55) | @Test method shouldStopScheduleFromExecutor (line 62) | @Test method shouldDeleteScheduleWhenNotRunning (line 69) | @Test method shouldCheckIfScheduleIsRunningAndStopIfSoBeforeDeleting (line 78) | @Test method shouldGetAllSchedulesAndConvert (line 89) | @Test method shouldReturnOneSchedule (line 120) | @Test method shouldGetHostFromDatabaseToCheckItExistsWhenCreating (line 136) | @Test(expected = IllegalArgumentException.class) method shouldOverlayHostFromDatabaseInScheduleWhenCreating (line 145) | @Test method shouldReturnConvertedScheduleOnceCreated (line 167) | @Test method shouldOverlayHostFromDatabaseInScheduleWhenUpdating (line 188) | @Test method shouldReturnConvertedScheduleOnceUpdated (line 206) | @Test method shouldOverlayLastRunTimeOfExistingScheduleToNewOne (line 220) | @Test method shouldThrowExceptionIfScheduleHasNoIdWhenUpdating (line 235) | @Test(expected = IllegalArgumentException.class) method shouldClearScannedFiles (line 247) | @Test method setUpScheduleMocks (line 264) | private void setUpScheduleMocks() { FILE: src/test/java/io/linuxserver/davos/delegation/services/SettingsServiceImplTest.java class SettingsServiceImplTest (line 25) | public class SettingsServiceImplTest { method before (line 36) | @Before method checkVersionShouldCallGitHub (line 45) | @Test method checkVersionShouldReturnVersionFromGithub (line 54) | @Test method ifRestTemplateFailsThenReturnEmptyVersion (line 62) | @Test FILE: src/test/java/io/linuxserver/davos/persistence/dao/DefaultScheduleDAOTest.java class DefaultScheduleDAOTest (line 19) | public class DefaultScheduleDAOTest { method setUp (line 27) | @Before method updatingScannedFilesShouldWork (line 32) | @Test method toScannedFileModel (line 55) | private ScannedFileModel toScannedFileModel(String fileName, ScheduleM... FILE: src/test/java/io/linuxserver/davos/schedule/ScheduleConfigurationFactoryTest.java class ScheduleConfigurationFactoryTest (line 20) | public class ScheduleConfigurationFactoryTest { method shouldConvertAllMainFields (line 22) | @Test method shouldUseCorrectCredentialsIfIdentityPresent (line 55) | @Test method shouldAddAllFiltersIfAny (line 90) | @Test method shouldAddAllActionsIfAny (line 119) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/ScheduleExecutorTest.java class ScheduleExecutorTest (line 28) | public class ScheduleExecutorTest { method setUp (line 39) | @Before method shouldScheduleBasedOnIntervalAndAutoStartup (line 44) | @Test method startScheduleShouldRunThatSchedule (line 66) | @Test method startScheduleShouldNotRunScheduleIfAlreadyRunning (line 79) | @Test(expected = ScheduleAlreadyRunningException.class) method stopScheduleShouldStopRunningSchedule (line 92) | @Test method shouldBeAbleToInformWhetherScheduleIsRunningOrNot (line 112) | @Test method stopScheduleShouldNotStopRunningScheduleIfItHasAlreadyBeenCancelled (line 135) | @Test method stopScheduleShouldNotAttemptToStopNonRunningSchedule (line 156) | @Test(expected = ScheduleNotRunningException.class) FILE: src/test/java/io/linuxserver/davos/schedule/workflow/ConnectWorkflowStepTest.java class ConnectWorkflowStepTest (line 26) | public class ConnectWorkflowStepTest { method setUp (line 43) | @Before method runStepShouldCreateNewClient (line 51) | @Test method runStepShouldSetClientIntoWorkflow (line 62) | @Test method runStepShouldConnectToNewlyCreatedClient (line 74) | @Test method runStepShouldConnectToTheClientUsingTheConfigsHostAndCredentialInformation (line 85) | @Test method runStepShouldPlaceConnectedClientConnectionIntoSchedule (line 105) | @Test method runStepShouldCallOnNextStepWhenComplete (line 120) | @Test method ifClientCannotConnectThenDoNotCallNextStep (line 135) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/DisconnectWorkflowStepTest.java class DisconnectWorkflowStepTest (line 19) | public class DisconnectWorkflowStepTest { method setUp (line 29) | @Before method runStepShouldCloseTheConnection (line 34) | @Test method ifDisconnectingFailsThenDoNothing (line 49) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/DownloadFilesWorkflowStepTest.java class DownloadFilesWorkflowStepTest (line 39) | public class DownloadFilesWorkflowStepTest { method setUp (line 64) | @Before method shouldCallStrategyFactoryToGetCorrectStrategyAndPassFileThrough (line 75) | @Test method shouldCallOnNextStepWhenFinished (line 109) | @Test method ifStrategyTranferFailsThenShouldStillCallNextStep (line 130) | @Test method shouldDeleteHostFileIfOptionSet (line 151) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/FilterFilesWorkflowStepTest.java class FilterFilesWorkflowStepTest (line 27) | public class FilterFilesWorkflowStepTest { method setUp (line 41) | @Before method workflowStepShouldListFilesInTheRemoteDirectory (line 46) | @Test method workflowStepShouldSetTheFilesFromLastScanToThisScanAtEnd (line 60) | @Test method workflowStepShouldFilterOutAnyFilesThatAreNotInTheGivenConfigList (line 93) | @Test method workflowStepShouldFilterOutAnyFilesThatAreNotInTheGivenConfigListAndWereNotScannedInLastRun (line 125) | @Test method shouldOnlyAddOneInstanceOfAFileEvenIfTwoFiltersMatch (line 159) | @Test method workflowStepShouldFilterOutAnyFilesThatDoNotMatchTheWildcards (line 191) | @Test method workflowStepShouldCallNextStepRunMethodOnceSettingFilters (line 223) | @Test method ifFilterListIsInitiallyEmptyThenAssumeThatAllFilesShouldBeDownloaded (line 250) | @Test method ifFilterListIsInitiallyEmptyButFiltersAreMandatoryThenNoFilesShouldBeDownloaded (line 281) | @Test method shouldFilterFilesThatDoNotMatchSetFiltersIfInvertingSet (line 311) | @Test method ifListingFilesIsUnsuccessfulThenDoNotCallNextStepAndCallBackupStepInstead (line 343) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/actions/HttpAPICallActionTest.java class HttpAPICallActionTest (line 24) | public class HttpAPICallActionTest { method setUp (line 35) | @Before method shouldCallRestTemplateWithCorrectParams (line 43) | @Test method shouldResolveFilenameInUrlAsWell (line 58) | @Test method postDataShouldHaveCorrectHeaderValue (line 76) | @Test method ifRestTemplateFailsThenDoNothing (line 91) | @Test method ifRestTemplateFailsBecauseMessageIsUnreadbleThenDoNothing (line 103) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/actions/MoveFileActionTest.java class MoveFileActionTest (line 17) | public class MoveFileActionTest { method setUp (line 25) | @Before method executeShouldMoveTheFile (line 30) | @Test method ifMovingOfFileFailsThenDoNotPerpetuateError (line 41) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/actions/PushbulletNotifyActionTest.java class PushbulletNotifyActionTest (line 26) | public class PushbulletNotifyActionTest { method setUp (line 37) | @Before method executeShouldSendCorrectData (line 45) | @Test method postDataShouldHaveCorrectHeaderValue (line 63) | @Test method ifRestTemplateFailsThenDoNothing (line 80) | @Test method ifRestTemplateFailsBecauseMessageIsUnreadbleThenDoNothing (line 89) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/filter/ReferentialFileFilterTest.java class ReferentialFileFilterTest (line 13) | public class ReferentialFileFilterTest { method shouldReturnAllFTPFilesIfLastScanIsEmpty (line 15) | @Test method shouldReturnFilteredFTPFilesIfLastScanIsMissingFiles (line 33) | @Test method shouldReturnEmptyListIfNewFilesAreEmpty (line 49) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/transfer/FilesAndFoldersTranferStrategyTest.java class FilesAndFoldersTranferStrategyTest (line 13) | public class FilesAndFoldersTranferStrategyTest { method setUp (line 20) | @Before method strategyShouldCallDownloadMethodForFiles (line 28) | @Test method strategyShouldCallDownloadMethodForDirectories (line 38) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/transfer/FilesOnlyTransferStrategyTest.java class FilesOnlyTransferStrategyTest (line 18) | public class FilesOnlyTransferStrategyTest { method setUp (line 25) | @Before method strategyShouldCallDownloadMethodForFiles (line 33) | @Test method strategyShouldNotCallDownloadMethodForDirectories (line 43) | @Test method shouldNullifyListenerIfTransferIsForAFolder (line 53) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/transfer/TransferStrategyFactoryTest.java class TransferStrategyFactoryTest (line 9) | public class TransferStrategyFactoryTest { method shouldReturnCorrectStrategies (line 11) | @Test FILE: src/test/java/io/linuxserver/davos/schedule/workflow/transfer/TransferStrategyTest.java class TransferStrategyTest (line 17) | public class TransferStrategyTest { method toStringShouldPrintClassName (line 19) | @Test method runPostDownloadActionShouldCallAllGivenActionsWithTheFile (line 25) | @Test method ensureNulLActionsAreCheckedBeforeAttemptingToRun (line 46) | @Test class TestTransferStrategy (line 54) | class TestTransferStrategy extends TransferStrategy { method TestTransferStrategy (line 56) | public TestTransferStrategy(Connection connection) { method transferFile (line 60) | @Override class AnotherTestTransferStrategy (line 65) | class AnotherTestTransferStrategy extends TransferStrategy { method AnotherTestTransferStrategy (line 67) | public AnotherTestTransferStrategy(Connection connection) { method transferFile (line 71) | @Override class DownloadActionImplTestTransferStrategy (line 76) | class DownloadActionImplTestTransferStrategy extends TransferStrategy { method DownloadActionImplTestTransferStrategy (line 78) | public DownloadActionImplTestTransferStrategy(Connection connection) { method transferFile (line 82) | @Override FILE: src/test/java/io/linuxserver/davos/transfer/ftp/client/ClientFactoryTest.java class ClientFactoryTest (line 9) | public class ClientFactoryTest { method shouldReturnSFTPClientWhenProtocolIsSFTP (line 11) | @Test method shouldReturnFTPClientForAnythingElse (line 16) | @Test FILE: src/test/java/io/linuxserver/davos/transfer/ftp/client/FTPClientTest.java class FTPClientTest (line 31) | public class FTPClientTest { method setUp (line 49) | @Before method newFtpClientShouldCreateFTPClientInstance (line 70) | @Test method connectMethodShouldCallonUnderlyingFtpClientConnectMethodWithHostname (line 75) | @Test method connectMethodShouldEnterPassiveModeLoginToUnderlyingFtpClient (line 83) | @Test method connectMethodShouldSetKeepAliveCommandToEveryFiveMinutes (line 94) | @Test method onceLoggedInTheClientShouldHaveFileTypeSetToBinary (line 102) | @Test method connectMethodShouldReturnNewFtpConnectionTakingInUnderlyingFtpClient (line 113) | @Test method disconnectMethodShouldCallOnUnderlyingFtpClientDisconnectMethod (line 122) | @Test method ifConnectionFailsThenCatchThrownExceptionAndThrowFtpException (line 130) | @Test method ifConnectionFailsDueToUnknownHostThenCatchThrownExceptionAndThrowFtpException (line 141) | @Test method ifUnderlyingClientReturnsBadConnectionCodeThenThrowConnectionException (line 153) | @Test method ifUnableToLoginToFtpClientThenThrowFtpException (line 165) | @Test method whenDisconnectingThenClientShouldCheckToSeeIfAlreadyDisconnected (line 176) | @Test method whenAlreadyDisconnectedThenClientShoudlNotCallOnUnderlyingClientDisconnectMethod (line 184) | @Test method whenClientIsStillConnectedThenShouldCallOnUnderlyingClientDisconnectMethod (line 194) | @Test method ifUnderlyingClientThrowsExceptionWhenDisconnectingThenClientShouldCatchAndRethrow (line 202) | @Test method ifUnderlyingClientIsNullifiedBeforeDisconnectionThenDisconnectShouldThrow (line 213) | @Test FILE: src/test/java/io/linuxserver/davos/transfer/ftp/client/FTPSClientTest.java class FTPSClientTest (line 7) | public class FTPSClientTest { method newFtpsClientShouldCreateFTPSClientInstance (line 11) | @Test FILE: src/test/java/io/linuxserver/davos/transfer/ftp/client/SFTPClientTest.java class SFTPClientTest (line 35) | public class SFTPClientTest { method setUp (line 54) | @Before method connectMethodShouldCreateSessionUsingHostPortAndUsername (line 68) | @Test method sessionFromInitialConnectionNeedsConfigAndIdentitySettingBeforeConnecting (line 76) | @Test method sessionFromInitialConnectionNeedsConfigAndPasswordSettingBeforeConnecting (line 95) | @Test method returnedSessionObjectShouldSetChannelToSftpAndOpen (line 109) | @Test method ifForAnyReasonTheUnderlyingSessionCantConnectThenCatchTheExceptionAndRethrow (line 119) | @Test method sessionChannelShouldBeConnectedTo (line 131) | @Test method connectMethodShouldReturnLiveInstanceOfSftpChannelWrappedInStfpConnection (line 142) | @Test method disconnectMethodShouldDisconnectUnderlyingChannelAndSession (line 150) | @Test method disconnectMethodShouldThrowExceptionWhenNotInitiallyConnected (line 163) | @Test FILE: src/test/java/io/linuxserver/davos/transfer/ftp/connection/FTPConnectionTest.java class FTPConnectionTest (line 40) | public class FTPConnectionTest { method setUp (line 62) | @Before method whenListingFilesThenFtpClientListFilesMethodShouldBeCalledForCurrentWorkingDirectory (line 82) | @Test method ifWhenListingFilesFtpClientThrowsExceptionThenCatchAndRethrowFileListingExcepton (line 90) | @Test method whenListingFilesThenFileArrayThatListFilesReturnsShouldBeConvertedToListOfFtpFilesAndReturned (line 101) | @Test method returnedFtpFilesShouldHaveCorrectModifiedDateTimesAgainstThem (line 123) | @Test method whenListingFilesAndGivingRelativePathThenThatPathShouldBeUsedAlongsideCurrentWorkingDir (line 133) | @Test method downloadMethodShouldCreateLocalFileStreamFromCorrectPathBasedOnRemoteFileName (line 141) | @Test method downloadMethodShouldCreateLocalFileStreamContainingProgressListener (line 150) | @Test method downloadMethodShouldCallOnFtpClientRetrieveFilesMethodWithRemoteFilename (line 162) | @Test method downloadMethodShouldThrowExceptionIfUnableToOpenStreamToLocalFile (line 171) | @Test method shouldDownloadFailForAnyReasonWhileInProgressThenCatchIOExceptionAndThrowNewDownloadFailedException (line 183) | @Test method ifRetrieveFileMethodInClientReturnsFalseThenThrowDownloadFailedException (line 196) | @Test method printingWorkingDirectoryShouldCallOnUnderlyingClientMethodToGetCurrentDirectory (line 208) | @Test method printingWorkingDirectoryShouldReturnExactlyWhatTheUnderlyingClientReturns (line 216) | @Test method ifClientThrowsExceptionWhenTryingToGetWorkingDirectoryThenCatchExceptionAndRethrow (line 221) | @Test method shouldDeleteRemoteFile (line 232) | @Test method ifDeleteFailsThenExceptionShouldBeThrown (line 242) | @Test method ifDeleteThrowsExceptionItShouldBeCaughtAndRethrown (line 254) | @Test method shouldRecursivelyDeleteRemoteFileIfItIsADirectoryWithContents (line 266) | @Test method downloadShouldRecursivelyCheckFileIfFolderThenLsThatAndGetOnlyFiles (line 289) | @Test method initRecursiveListings (line 338) | private void initRecursiveListings() throws IOException { method createSingleEntry (line 370) | private org.apache.commons.net.ftp.FTPFile createSingleEntry(String fi... method createRemoteFTPFiles (line 385) | private org.apache.commons.net.ftp.FTPFile[] createRemoteFTPFiles() { method setTrueIfNumberIsEven (line 418) | private boolean setTrueIfNumberIsEven(int i) { FILE: src/test/java/io/linuxserver/davos/transfer/ftp/connection/SFTPConnectionTest.java class SFTPConnectionTest (line 38) | public class SFTPConnectionTest { method setUp (line 51) | @Before method listFilesMethodShouldCallOnChannelLsMethodForPresentDirectory (line 66) | @Test method whenListingFilesGivingRelativePathThenChannelLsMethodShouldUseGivenPath (line 74) | @Test method ifUnderlyingChannelIsUnableToListFilesInPWDThenExceptionShouldBeCaughtAndRethrown (line 82) | @Test method lsEntriesReturnedFromChannelShouldBeParsedIntoFtpFileAndReturnedInList (line 93) | @Test method returnedFtpFilesShouldHaveCorrectModifiedDateTimesAgainstThem (line 114) | @Test method printingWorkingDirectoryShouldCallOnUnderlyingClientMethodToGetCurrentDirectory (line 124) | @Test method printingWorkingDirectoryShouldReturnExactlyWhatTheUnderlyingClientReturns (line 132) | @Test method ifClientThrowsExceptionWhenTryingToGetWorkingDirectoryThenCatchExceptionAndRethrow (line 138) | @Test method downloadMethodShouldCallChannelGetMethodWithFtpFileNameAndDirectory (line 149) | @Test method downloadMethodShouldCallChannelGetMethodWithListenerIfSet (line 158) | @Test method downloadMethodShouldThrowDownloadFailedExceptionWhenChannelThrowsSftpConnection (line 171) | @Test method downloadShouldRecursivelyCheckFileIfFolderThenLsThatAndGetOnlyFiles (line 182) | @Test method shouldRecursivelyDeleteRemoteFileIfItIsADirectoryAndHasContents (line 212) | @Test method shouldDeleteRemoteFile (line 235) | @Test method shouldDeleteRemoteDirectory (line 245) | @Test method shouldCatchAndRethrowExceptionIfCaught (line 257) | @Test method initRecursiveListings (line 271) | private void initRecursiveListings() throws SftpException { method createEntries (line 303) | private Vector createEntries() { method createSingleEntry (line 314) | private LsEntry createSingleEntry(String fileName, long size, int mTim... FILE: src/test/java/io/linuxserver/davos/transfer/ftp/connection/progress/ListenerFactoryTest.java class ListenerFactoryTest (line 9) | public class ListenerFactoryTest { method shouldReturnCorrectListener (line 11) | @Test FILE: src/test/java/io/linuxserver/davos/transfer/ftp/connection/progress/ProgressListenerTest.java class ProgressListenerTest (line 7) | public class ProgressListenerTest { method shouldGiveCorrectSpeed (line 9) | @Test method shouldGiveCorrectSpeedWhenAlternating (line 21) | @Test method shouldReturn100IfTotalSizeIsZero (line 36) | @Test method shouldReturn0IfTotalBytesWrittenIsZero (line 48) | @Test method shouldShowProgress (line 60) | @Test FILE: src/test/java/io/linuxserver/davos/transfer/ftp/connection/progress/SFTPProgressListenerTest.java class SFTPProgressListenerTest (line 9) | public class SFTPProgressListenerTest { method shouldReturnCorrectProgress (line 11) | @Test FILE: src/test/java/io/linuxserver/davos/util/PatternBuilderTest.java class PatternBuilderTest (line 7) | public class PatternBuilderTest { method builderShouldTurnQuestionMarksIntoSingleCharacterRegexMatcher (line 9) | @Test method builderShouldTurnAsterixesIntoManyCharacterRegexMatcher (line 18) | @Test method regexStringReturnedShouldBeAbleToActuallyMatchUsingRegexOperation (line 27) | @Test method stringWithBothAsterixAndQuestionMarkShouldMatchProperly (line 36) | @Test method dotsShouldBeTreatedVerbatim (line 45) | @Test FILE: src/test/java/io/linuxserver/davos/web/controller/APIControllerTest.java class APIControllerTest (line 21) | public class APIControllerTest { method before (line 32) | @Before method createScheduleShouldCallFacadeMethod (line 37) | @Test method onSuccessNewScheduleShouldBeReturnedWhenCreated (line 47) | @Test method updateScheduleShouldCallFacadeWithIdInMethod (line 61) | @Test method onSuccessUpdatedScheduleShouldBeReturnedWhenSaved (line 73) | @Test method deleteScheduleShouldCallFacade (line 86) | @Test method createHostShouldCallFacade (line 97) | @Test method saveHostShouldReturnResponse (line 107) | @Test method updateHostShouldCallFacadeWithIdInMethod (line 121) | @Test method onSuccessUpdatedHostShouldBeReturnedWhenSaved (line 133) | @Test method deleteHostShouldCallFacade (line 146) | @Test FILE: src/test/java/io/linuxserver/davos/web/controller/ViewControllerTest.java class ViewControllerTest (line 25) | public class ViewControllerTest { method before (line 42) | @Before method viewsShouldResolveCorrectly (line 49) | @Test method schedulesShouldAddAllSchedulesToModel (line 62) | @Test method schedulesWithIdShouldAddSpecificScheduleToModel (line 75) | @Test method newScheduleShouldAddScheduleToModel (line 87) | @Test method allHostsShouldAddHostsToModel (line 95) | @Test method newHostShouldAddNewHostToModel (line 103) | @Test method hostsWithIdShouldAddSpecificHostToModel (line 111) | @Test