Interface RunDataProvider

    • Method Detail

      • getName

        String getName()
        Get the name of the provider.
        Returns:
        the name of the provider
      • init

        void init​(DataStorage storage,
                  Configuration conf,
                  fr.ens.biologie.genomique.kenetre.log.GenericLogger logger)
           throws Aozan3Exception
        Initialize the provider.
        Parameters:
        storage - used for the source
        conf - the configuration of the provider
        logger - the logger to use
        Throws:
        Aozan3Exception - if an error occurs while initialize the provider
      • canProvideRunData

        boolean canProvideRunData()
        Test if provider can provide RunData
        Returns:
        true if provider can provide RunData
      • listInProgressRunData

        List<RunData> listInProgressRunData​(Collection<RunId> excludedRuns)
        List available runs in progress.
        Parameters:
        excludedRuns - runs to exclude
        Returns:
        a list of RunData
      • listInProgressRunData

        default List<RunData> listInProgressRunData()
        List available runs in progress.
        Returns:
        a list of RunData
      • listCompletedRunData

        List<RunData> listCompletedRunData​(Collection<RunId> excludedRuns)
        List available runs in progress.
        Parameters:
        excludedRuns - runs to exclude
        Returns:
        a list of RunData
      • listCompletedRunData

        default List<RunData> listCompletedRunData()
        List available completed runs.
        Returns:
        a list of RunData
      • getDataStorage

        DataStorage getDataStorage()
        Get the data storage of used by the provider.
        Returns:
        the DataStorage used by the provider