pl.touk.nussknacker.ui.process.newdeployment.DeploymentCommand.scala Maven / Gradle / Ivy
package pl.touk.nussknacker.ui.process.newdeployment
import pl.touk.nussknacker.engine.api.component.NodesDeploymentData
import pl.touk.nussknacker.engine.api.process.ProcessName
import pl.touk.nussknacker.engine.newdeployment.DeploymentId
import pl.touk.nussknacker.ui.security.api.LoggedUser
sealed trait DeploymentCommand {
def id: DeploymentId
}
final case class RunDeploymentCommand(
id: DeploymentId,
scenarioName: ProcessName,
nodesDeploymentData: NodesDeploymentData,
user: LoggedUser
) extends DeploymentCommand