ConversionStep

sealed interface ConversionStep(source)

Represents a step in the conversion process of transforming icon files into Kotlin code.

This sealed interface defines the possible states during the conversion workflow, allowing consumers to track progress and handle different stages of the conversion pipeline. Each step provides specific information relevant to that stage of the process.

Inheritors

Types

Link copied to clipboard
data class Complete(val result: ConversionResult) : ConversionStep

Represents the final, successful completion step of the icon conversion process.

Link copied to clipboard
data class Error(val error: Throwable) : ConversionStep

Represents a conversion step that encountered an error during processing.

Link copied to clipboard
data class Generating(val message: String) : ConversionStep

Represents the code generation step in the icon conversion process.

Link copied to clipboard
data class Optimizing(val message: String) : ConversionStep

Represents the optimization step in the icon conversion process.

Link copied to clipboard
data class Parsing(val message: String) : ConversionStep

Represents the parsing step in the icon conversion process.