All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.devops.process.engine.pojo.event.PipelineStreamEnabledEvent.kt Maven / Gradle / Ivy

The newest version!
package com.tencent.devops.process.engine.pojo.event

import com.tencent.devops.common.event.annotation.Event
import com.tencent.devops.common.event.dispatcher.pipeline.mq.MQ
import com.tencent.devops.common.event.enums.ActionType
import com.tencent.devops.common.event.pojo.pipeline.IPipelineEvent

/**
 * 流水线开启stream事件
 *
 * @version 1.0
 */
@Event(MQ.ENGINE_PROCESS_LISTENER_EXCHANGE, MQ.ROUTE_PIPELINE_STREAM_ENABLED)
data class PipelineStreamEnabledEvent(
    override val source: String,
    override val projectId: String,
    override val pipelineId: String,
    override val userId: String,
    override var actionType: ActionType = ActionType.START,
    override var delayMills: Int = 0,
    val gitProjectId: Long,
    val gitProjectUrl: String,
    val enable: Boolean
) : IPipelineEvent(actionType, source, projectId, pipelineId, userId, delayMills)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy