Package io.typeflows.github.workflow
Class Output
-
- All Implemented Interfaces:
-
io.typeflows.github.workflow.IO,io.typeflows.util.Renderable
public final class Output<T extends Object> implements IO<T>, Renderable<Map<String, Any>>
Represents an output parameter for GitHub Actions workflows, jobs, or custom actions.
Outputs define values that are produced by workflows, jobs, or actions and can be consumed by subsequent steps or external callers. They enable data flow and communication between different parts of the automation pipeline with type safety and documentation.
-
-
Method Summary
Modifier and Type Method Description StringgetName()Map<String, Object>render()final Input<T>asInput()final static Output<String>string(String name, String value, String description)final static Output<String>string(String name, String value)final static Output<Boolean>bool(String name, String value, String description)final static Output<Boolean>bool(String name, String value)final static Output<Integer>integer(String name, String value, String description)final static Output<Integer>integer(String name, String value)-
-
Method Detail
-
string
@JvmOverloads() final static Output<String> string(String name, String value, String description)
-
bool
@JvmOverloads() final static Output<Boolean> bool(String name, String value, String description)
-
integer
@JvmOverloads() final static Output<Integer> integer(String name, String value, String description)
-
-
-
-