IconParsingWorkActionResult

class IconParsingWorkActionResult(val origin: String, val output: String, val status: IconParsingWorkActionResult.Status = Status.Unknown, val message: String)(source)

Represents the result of an individual icon parsing operation performed by a Gradle worker.

This class encapsulates the outcome, including the status (success or error), paths of the original and generated files, and any relevant messages. It is designed to be serializable to a properties file, allowing results to be persisted and read across different processes.

Constructors

Link copied to clipboard
constructor(origin: String, output: String, status: IconParsingWorkActionResult.Status = Status.Unknown, message: String)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard

An accompanying message, typically used to provide details about an error.

Link copied to clipboard

The absolute path of the original source icon file (e.g., an SVG or XML).

Link copied to clipboard

The absolute path of the generated output file (e.g., a Kotlin file). This may be empty if the operation failed.

Link copied to clipboard

The outcome of the parsing operation. See Status.

Functions

Link copied to clipboard
fun store(resultFilePath: Property<String>)