FileAction

interface FileAction

FileAction declares the methods and states for a performing a FileActionType on an AvailFile.

Author

Richard Arriaga

Functions

Link copied to clipboard
abstract 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.

Properties

Link copied to clipboard
open val isTraced: Boolean

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

Link copied to clipboard
abstract val type: FileActionType

The FileActionType that represents this FileAction.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard