com.simiacryptus.skyenet.apps.plan.PlanProcessingState.kt Maven / Gradle / Ivy
package com.simiacryptus.skyenet.apps.plan
import com.simiacryptus.skyenet.webui.session.SessionTask
import java.util.concurrent.Future
data class PlanProcessingState(
val subTasks: Map,
val tasksByDescription: MutableMap = subTasks.entries.toTypedArray()
.associate { it.value.description to it.value }.toMutableMap(),
val taskIdProcessingQueue: MutableList = PlanUtil.executionOrder(subTasks).toMutableList(),
val taskResult: MutableMap = mutableMapOf(),
val completedTasks: MutableList = mutableListOf(),
val taskFutures: MutableMap> = mutableMapOf(),
val uitaskMap: MutableMap = mutableMapOf()
)