Package org.teiid.deployers
Class VDBStatusChecker
- java.lang.Object
-
- org.teiid.deployers.VDBStatusChecker
-
public abstract class VDBStatusChecker extends Object
-
-
Constructor Summary
Constructors Constructor Description VDBStatusChecker()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
dataSourceAdded(String dataSourceName, VDBKey vdbKey)
void
dataSourceRemoved(String dataSourceName, VDBKey vdbKey)
boolean
dataSourceReplaced(String vdbName, String vdbVersion, String modelName, String sourceName, String translatorName, String dsName)
abstract Executor
getExecutor()
abstract VDBRepository
getVDBRepository()
static String
stripContext(String dataSourceName)
void
translatorAdded(String translatorName)
void
translatorRemoved(String translatorName)
boolean
updateSource(String vdbName, String vdbVersion, SourceMappingMetadata mapping, boolean replace)
-
-
-
Method Detail
-
translatorAdded
public void translatorAdded(String translatorName)
- Parameters:
translatorName
-
-
translatorRemoved
public void translatorRemoved(String translatorName)
- Parameters:
translatorName
-
-
dataSourceRemoved
public void dataSourceRemoved(String dataSourceName, 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 AdminProcessingException
- Throws:
AdminProcessingException
-
updateSource
public boolean updateSource(String vdbName, String vdbVersion, SourceMappingMetadata mapping, boolean replace) throws AdminProcessingException
- Returns:
- true if the datasource is new to the vdb
- Throws:
AdminProcessingException
-
getExecutor
public abstract Executor getExecutor()
-
getVDBRepository
public abstract VDBRepository getVDBRepository()
-
-