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

org.octopusden.octopus.dms.event.Event.kt Maven / Gradle / Ivy

package org.octopusden.octopus.dms.event

import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo

@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.EXISTING_PROPERTY,
    property = "type",
    visible = true
)
@JsonSubTypes(
    JsonSubTypes.Type(RegisterComponentVersionArtifactEvent::class, name = "REGISTER_COMPONENT_VERSION_ARTIFACT"),
    JsonSubTypes.Type(DeleteComponentVersionArtifactEvent::class, name = "DELETE_COMPONENT_VERSION_ARTIFACT")
)
abstract class Event(
    val type: EventType
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy