Class ChainedAction
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.connection.ChainedAction
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
CreateTempTablesAction,DisableAutocommitAction,SetMultiShardModifyModeAction,SetSchemaAction
public class ChainedAction extends java.lang.Object implements Action
Base for chaining actions together
-
-
Constructor Summary
Constructors Constructor Description ChainedAction()Public constructor where this action is the end of the chainChainedAction(Action next)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformOn(FHIRDbFlavor flavor, java.sql.Connection c)Perform this action on the given connection
-
-
-
Constructor Detail
-
ChainedAction
public ChainedAction(Action next)
Public constructor- Parameters:
next- the next action in the chain
-
ChainedAction
public ChainedAction()
Public constructor where this action is the end of the chain
-
-
Method Detail
-
performOn
public void performOn(FHIRDbFlavor flavor, java.sql.Connection c) throws FHIRPersistenceDBConnectException
Description copied from interface:ActionPerform this action on the given connection- Specified by:
performOnin interfaceAction- Parameters:
flavor- describes the type of database associated with the given connectionc- the connection to perform the action on- Throws:
FHIRPersistenceDBConnectException
-
-