UndoAction

UndoAction is a FileAction that executes the inverse for a FileAction that is traced as a TracedAction.

Author

Richard Arriaga

Properties

Link copied to clipboard
open val isTraced: Boolean

true indicates this FileAction is traced in a TracedAction; false otherwise.

Link copied to clipboard
open override val type: FileActionType

The FileActionType that represents this FileAction.

Functions

Link copied to clipboard
open override fun execute(file: AvailFile, timestamp: Long, originator: UUID): TracedAction

Executes the action on the provided AvailFile and answer the TracedAction required to reverse this FileAction update.