Interface ASQLContext<T>

  • Type Parameters:
    T - The plugin type related to this context

    public interface ASQLContext<T>
    Represents a generic ASQLContext. An implementation of ASQLContext represents the state of the system where this API is used.
    • Method Detail

      • getScheduler

        ContextScheduler getScheduler()
        Gets the scheduling policy linked to this ASQLContext.
        Returns:
        A singleton IScheduler instance
        See Also:
        ContextScheduler
      • getDataTemplate

        DataTemplate<? extends ASQLContext<T>> getDataTemplate()
        Gets the DataTemplate instance linked to this ASQLContext.
        Returns:
        the data template related to this context
      • getDataSourceHandler

        DataSourceHandler getDataSourceHandler()
        Gets the data source interaction strategy linked to this ASQLContext.
        Returns:
        The data source handler
        See Also:
        DataSourceHandler
      • getPlugin

        T getPlugin()
        Gets the plugin who created this ASQLContext.
        Returns:
        the plugin related to this context
      • getLogger

        Logger getLogger()
        Gets the logger used by this ASQLContext.
        Returns:
        the context logger