Edit

sealed interface Edit

Edits that can be made to the plan.

All edits are invertible.

Inheritors

Types

Link copied to clipboard
data class Create(val directive: Directive<AnyDirective>) : Edit

Create a new activity from a given directive.

Link copied to clipboard
data class Delete(val directive: Directive<AnyDirective>) : Edit

Delete an activity, specified by directive id.

Functions

Link copied to clipboard
abstract fun inverse(): Edit

Returns the reverse operation.