EditablePlan
A plan representation that can be edited and simulated.
Functions
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
Get the latest simulation results.
Link copied to clipboard
A simplified version of simulate which uses the default configuration.
Simulate the current plan, including committed and uncommitted changes.
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.