Class TopologyDescriptor<T extends TopologyProvider>
- java.lang.Object
-
- io.streamthoughts.azkarra.api.components.ComponentDescriptor<T>
-
- io.streamthoughts.azkarra.api.providers.TopologyDescriptor<T>
-
- Type Parameters:
T
- theTopologyProvider
type.
- All Implemented Interfaces:
Comparable<ComponentDescriptor<T>>
public final class TopologyDescriptor<T extends TopologyProvider> extends ComponentDescriptor<T>
AComponentDescriptor
for describing aTopologyProvider
implementation.
-
-
Constructor Summary
Constructors Constructor Description TopologyDescriptor(String version, Class<T> cls, String description)
Creates a newTopologyDescriptor
instance.TopologyDescriptor(String version, Class<T> cls, String description, Conf streamConfigs)
Creates a newTopologyDescriptor
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
String
name()
Conf
streamsConfigs()
String
toString()
-
Methods inherited from class io.streamthoughts.azkarra.api.components.ComponentDescriptor
addAliases, aliases, className, compareTo, isCloseable, isVersioned, type, version
-
-
-
-
Constructor Detail
-
TopologyDescriptor
public TopologyDescriptor(String version, Class<T> cls, String description)
Creates a newTopologyDescriptor
instance.- Parameters:
cls
- the topology provider class.version
- the topology version.description
- the topology description.
-
TopologyDescriptor
public TopologyDescriptor(String version, Class<T> cls, String description, Conf streamConfigs)
Creates a newTopologyDescriptor
instance.- Parameters:
cls
- the topology provider class.version
- the topology version.description
- the topology description.streamConfigs
- the streams configuration.
-
-