Class AbstractConnectorUpdateChain
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.update.AbstractConnectorUpdateChain
- All Implemented Interfaces:
ConnectorUpdateChain
- Direct Known Subclasses:
AvailableSourceUpdate,CompiledFilenameUpdater,SourceConnectorUpdateChain
An abstract class implementing the
ConnectorUpdateChain interface.
It provides the structure for handling the update chain and ensures that the next chain in the sequence is called.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetNextUpdateChain(ConnectorUpdateChain nextChain) Sets the next update chain in the sequence.voidUpdates the givenConnectorobject using the defined logic.
-
Constructor Details
-
AbstractConnectorUpdateChain
public AbstractConnectorUpdateChain()
-
-
Method Details
-
setNextUpdateChain
Description copied from interface:ConnectorUpdateChainSets the next update chain in the sequence.- Specified by:
setNextUpdateChainin interfaceConnectorUpdateChain- Parameters:
nextChain- The next update chain in the sequence.
-
update
Description copied from interface:ConnectorUpdateChainUpdates the givenConnectorobject using the defined logic.- Specified by:
updatein interfaceConnectorUpdateChain- Parameters:
connector- The connector to be updated.
-