refactor(imports): optimize imports
This commit is contained in:
+1
-1
@@ -1,8 +1,8 @@
|
||||
package com.correx.core.transitions.analysis
|
||||
|
||||
import com.correx.core.events.types.StageId
|
||||
import com.correx.core.transitions.graph.TransitionEdge
|
||||
import com.correx.core.transitions.graph.WorkflowGraph
|
||||
import com.correx.core.events.types.StageId
|
||||
|
||||
internal class DeterministicAdjacencyBuilder {
|
||||
fun build(graph: WorkflowGraph): Map<StageId, List<TransitionEdge>> {
|
||||
|
||||
+1
-1
@@ -1,8 +1,8 @@
|
||||
package com.correx.core.transitions.execution
|
||||
|
||||
import com.correx.core.transitions.evaluation.EvaluationContext
|
||||
import com.correx.core.events.types.StageId
|
||||
import com.correx.core.events.types.TransitionId
|
||||
import com.correx.core.transitions.evaluation.EvaluationContext
|
||||
|
||||
data class StageExecutionRequest(
|
||||
val sessionId: String,
|
||||
|
||||
+1
-1
@@ -4,9 +4,9 @@ import com.correx.core.events.events.EventPayload
|
||||
import com.correx.core.events.events.StageCompletedEvent
|
||||
import com.correx.core.events.events.StageFailedEvent
|
||||
import com.correx.core.events.events.TransitionExecutedEvent
|
||||
import com.correx.core.events.types.SessionId
|
||||
import com.correx.core.transitions.execution.StageExecutionRequest
|
||||
import com.correx.core.transitions.execution.StageExecutionResult
|
||||
import com.correx.core.events.types.SessionId
|
||||
|
||||
class DefaultStageExecutionEventMapper : StageExecutionEventMapper {
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package com.correx.core.transitions.policy
|
||||
|
||||
import com.correx.core.events.types.StageId
|
||||
import java.util.SortedSet
|
||||
import java.util.*
|
||||
|
||||
data class CycleSignature(
|
||||
val nodes: SortedSet<StageId>,
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package com.correx.core.transitions.policy
|
||||
|
||||
import com.correx.core.events.types.StageId
|
||||
import com.correx.core.transitions.graph.TransitionEdge
|
||||
import java.util.TreeSet
|
||||
import java.util.*
|
||||
|
||||
object CycleSignatureFactory {
|
||||
fun from(nodes: List<StageId>, edges: List<TransitionEdge>): CycleSignature {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package com.correx.core.transitions.state
|
||||
|
||||
import com.correx.core.events.types.StageId
|
||||
import com.correx.core.transitions.analysis.DetectedCycle
|
||||
import com.correx.core.transitions.graph.TransitionEdge
|
||||
import com.correx.core.events.types.StageId
|
||||
|
||||
internal class CycleDfs {
|
||||
fun dfs(
|
||||
|
||||
Reference in New Issue
Block a user