Package com.attivio.sdk.transport
Interface TransportDefinitionStore
-
- All Superinterfaces:
ExternalizableStore
- All Known Implementing Classes:
MockTransportDefinitionStore
public interface TransportDefinitionStore extends ExternalizableStore
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.attivio.sdk.client.ExternalizableStore
ExternalizableStore.ImportOption
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddTransportDefinition(TransportDefinition tdef)Add a transport definition.default java.lang.StringgetStoreName()Get the name of this store.TransportDefinitiongetTransportDefinition(java.lang.String className)java.util.List<TransportDefinition>getTransportDefinitions()voidremoveTransportDefinition(java.lang.String className)Remove the TransportDefinition associated withclassName.-
Methods inherited from interface com.attivio.sdk.client.ExternalizableStore
exportStore, getStoreRevision, importStore
-
-
-
-
Method Detail
-
getTransportDefinitions
java.util.List<TransportDefinition> getTransportDefinitions()
- Returns:
- list of all TransportDefinitions
-
addTransportDefinition
void addTransportDefinition(TransportDefinition tdef) throws AttivioException
Add a transport definition. If transport class already exists it will be replaced.- Parameters:
tdef-- Throws:
AttivioException
-
removeTransportDefinition
void removeTransportDefinition(java.lang.String className) throws AttivioExceptionRemove the TransportDefinition associated withclassName.- Parameters:
className-- Throws:
AttivioException
-
getTransportDefinition
TransportDefinition getTransportDefinition(java.lang.String className)
- Parameters:
className-- Returns:
- the TransportDefinition associated with
classNameornullif none found
-
getStoreName
default java.lang.String getStoreName()
Description copied from interface:ExternalizableStoreGet the name of this store.This name will be the location that store configuration is synchronized to in the project's conf directory.
- Specified by:
getStoreNamein interfaceExternalizableStore
-
-