Class VDBStatusChecker


  • public abstract class VDBStatusChecker
    extends Object
    • Constructor Detail

      • VDBStatusChecker

        public VDBStatusChecker()
    • Method Detail

      • translatorAdded

        public void translatorAdded​(String translatorName)
        Parameters:
        translatorName -
      • translatorRemoved

        public void translatorRemoved​(String translatorName)
        Parameters:
        translatorName -
      • dataSourceAdded

        public void dataSourceAdded​(String dataSourceName,
                                    org.teiid.vdb.runtime.VDBKey vdbKey)
      • stripContext

        public static String stripContext​(String dataSourceName)
      • dataSourceRemoved

        public void dataSourceRemoved​(String dataSourceName,
                                      org.teiid.vdb.runtime.VDBKey vdbKey)
        Parameters:
        dataSourceName -
        vdbKey - which cannot be null
      • dataSourceReplaced

        public boolean dataSourceReplaced​(String vdbName,
                                          String vdbVersion,
                                          String modelName,
                                          String sourceName,
                                          String translatorName,
                                          String dsName)
                                   throws org.teiid.adminapi.AdminProcessingException
        Throws:
        org.teiid.adminapi.AdminProcessingException
      • updateSource

        public boolean updateSource​(String vdbName,
                                    String vdbVersion,
                                    org.teiid.adminapi.impl.SourceMappingMetadata mapping,
                                    boolean replace)
                             throws org.teiid.adminapi.AdminProcessingException
        Returns:
        true if the datasource is new to the vdb
        Throws:
        org.teiid.adminapi.AdminProcessingException
      • getExecutor

        public abstract Executor getExecutor()
      • getVDBRepository

        public abstract VDBRepository getVDBRepository()