class

Fluxion::Job

Inherits Reference < Object

A group of steps that run together, ordered against other jobs by dependsOn.

The stable schema calls these jobs (with phases as a legacy alias) and the manifest frontend produces exactly one, named manifest-plan.

Constructors

new(name : String, steps : Array(Step), depends_on : Array(String) = [] of String, restart_policy : RestartPolicy = RestartPolicy::None.new, continue_on_step_error : Bool = true, description : String = "")
Source

Instance methods

continue_on_step_error?

When false, the first failed step hard-fails the job and blocks every job that depends on it. Defaults to true so one bad package does not abandon the rest of a bootstrap.

Source
depends_on
Source
description
Source
halts?

True when finishing this job ends the run and writes a resume point.

Source
items
Source
name
Source
restart_policy
Source
steps
Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source