Class UnixFSTransactionCommitExecutionHandler
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSTransactionCommitExecutionHandler
- All Implemented Interfaces:
UnixFSTransactionProgramInterpreter.ExecutionHandler
public class UnixFSTransactionCommitExecutionHandler
extends Object
implements UnixFSTransactionProgramInterpreter.ExecutionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyContentsChange(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Applies the contnets change to aResourceId.voidapplyPathChange(UnixFSTransactionProgram program, UnixFSTransactionCommand command, Path rtPath, String transactionId) Applies the suppliedPathchange.voidapplyReversePathsChange(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Applies the change to theResourceId.voidapplyTaskChanges(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Applies the task changes to the datastore.org.slf4j.LoggerReturns the preferred logger for thisUnixFSTransactionProgramInterpreter.ExecutionHandler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.rt.transact.unix.UnixFSTransactionProgramInterpreter.ExecutionHandler
cleanupPath, cleanupResourceId, cleanupTasks
-
Constructor Details
-
UnixFSTransactionCommitExecutionHandler
-
-
Method Details
-
applyContentsChange
public void applyContentsChange(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerApplies the contnets change to aResourceId.- Specified by:
applyContentsChangein interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program-command-resourceId-transactionId-
-
applyReversePathsChange
public void applyReversePathsChange(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerApplies the change to theResourceId.- Specified by:
applyReversePathsChangein interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program- the programcommand- the commandresourceId- theResourceIdtransactionId- the Transaction ID
-
applyPathChange
public void applyPathChange(UnixFSTransactionProgram program, UnixFSTransactionCommand command, Path rtPath, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerApplies the suppliedPathchange.- Specified by:
applyPathChangein interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program-command-rtPath-transactionId-
-
applyTaskChanges
public void applyTaskChanges(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerApplies the task changes to the datastore.- Specified by:
applyTaskChangesin interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Parameters:
program-command-resourceId-transactionId-
-
getLogger
public org.slf4j.Logger getLogger()Description copied from interface:UnixFSTransactionProgramInterpreter.ExecutionHandlerReturns the preferred logger for thisUnixFSTransactionProgramInterpreter.ExecutionHandler. By default, all instructions are logged at trace level with the suppliedLogger.- Specified by:
getLoggerin interfaceUnixFSTransactionProgramInterpreter.ExecutionHandler- Returns:
- the logger
-
getDataStore
-