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 void
addTransportDefinition(TransportDefinition tdef)
Add a transport definition.default java.lang.String
getStoreName()
Get the name of this store.TransportDefinition
getTransportDefinition(java.lang.String className)
java.util.List<TransportDefinition>
getTransportDefinitions()
void
removeTransportDefinition(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 AttivioException
Remove the TransportDefinition associated withclassName
.- Parameters:
className
-- Throws:
AttivioException
-
getTransportDefinition
TransportDefinition getTransportDefinition(java.lang.String className)
- Parameters:
className
-- Returns:
- the TransportDefinition associated with
className
ornull
if none found
-
getStoreName
default java.lang.String getStoreName()
Description copied from interface:ExternalizableStore
Get 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:
getStoreName
in interfaceExternalizableStore
-
-