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

com.ybo.trackingplugin.extension.TraceConfig.kt Maven / Gradle / Ivy

Go to download

gradle plugin allowing to add automatic logs (or other process) at the start of each traced method

There is a newer version: 0.6.2
Show newest version
package com.ybo.trackingplugin.extension

import com.ybo.trackingplugin.tasks.utils.createReverseTraceAnnotationConfig

data class TraceConfig(
    var name: String = "",
    var tracerFactory: String = "",
    var exclude: Array? = null,
    var annotation: String? = null,
    var srcPath: String? = null,
) {
    /**
     * an "reverse" annotation that will be written in the code as a beacon for where a
     * trace annotation was present, to allow system to revert back to the annotated state (unprocessTrace)
     */
    fun alreadyProcessedAnnotation(): String? {
        return annotation?.let {
            createReverseTraceAnnotationConfig(it)
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy