PlanEditAdapter
Functions
Link copied to clipboard
Create a directive in the plan.
Link copied to clipboard
Queries all activity directives, deserializing them as AnyDirective.
Queries activity directives, filtered by type, deserializing them as AnyDirective.
abstract fun <A : Any> directives(type: String?, deserializer: (SerializedValue) -> A): Directives<A>
Query activity directives.
Link copied to clipboard
Get all external events across all derivation groups associated with this plan.
Get external events associated with this plan.
Link copied to clipboard
Create a unique directive ID.
Link copied to clipboard
Get the latest simulation results.
Link copied to clipboard
Simulate the current plan.
Link copied to clipboard
Convert a relative duration to a time instant.
Link copied to clipboard
Convert a time instant to a relative duration (relative to plan start).
Link copied to clipboard
Total extent of the plan's bounds, whether it was simulated on the full extent or not.
Link copied to clipboard
Optional validation hook for new activities.