coffee

package
v0.0.0-...-132a670 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2017 License: MIT Imports: 4 Imported by: 0

README

Coffee Example

  • Heat Water
  • Determine Temperature
  • MeltIce
  • Add Coffee and Sugar
  • Mix Ingredients Fork
  • Add Milk
  • Stir Mug
  • DrinkCoffee
  • GetFireExtinguisher

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteWorkflowExample

func ExecuteWorkflowExample() error

Types

type AddCoffeeAndSugar

type AddCoffeeAndSugar struct {
	// contains filtered or unexported fields
}

func (*AddCoffeeAndSugar) Accept

func (a *AddCoffeeAndSugar) Accept(visitor types.NodeVisitor)

func (*AddCoffeeAndSugar) Execute

func (a *AddCoffeeAndSugar) Execute() error

func (*AddCoffeeAndSugar) Name

func (a *AddCoffeeAndSugar) Name() string

func (*AddCoffeeAndSugar) Next

func (a *AddCoffeeAndSugar) Next() types.Node

type AddMilk

type AddMilk struct {
	// contains filtered or unexported fields
}

func (*AddMilk) Accept

func (a *AddMilk) Accept(visitor types.NodeVisitor)

func (*AddMilk) Execute

func (a *AddMilk) Execute() error

func (*AddMilk) Name

func (a *AddMilk) Name() string

type DetermineWaterTemperatureSwitch

type DetermineWaterTemperatureSwitch struct {
	// contains filtered or unexported fields
}

func (*DetermineWaterTemperatureSwitch) Accept

func (*DetermineWaterTemperatureSwitch) Cases

func (*DetermineWaterTemperatureSwitch) Name

type DrinkCoffee

type DrinkCoffee struct {
	// contains filtered or unexported fields
}

func (*DrinkCoffee) Accept

func (d *DrinkCoffee) Accept(visitor types.NodeVisitor)

func (*DrinkCoffee) Execute

func (d *DrinkCoffee) Execute() error

func (*DrinkCoffee) Name

func (d *DrinkCoffee) Name() string

func (*DrinkCoffee) Next

func (d *DrinkCoffee) Next() types.Node

type GetFireExtinguisher

type GetFireExtinguisher struct {
	// contains filtered or unexported fields
}

func (*GetFireExtinguisher) Accept

func (g *GetFireExtinguisher) Accept(visitor types.NodeVisitor)

func (*GetFireExtinguisher) Execute

func (g *GetFireExtinguisher) Execute() error

func (*GetFireExtinguisher) Name

func (g *GetFireExtinguisher) Name() string

func (*GetFireExtinguisher) Next

func (g *GetFireExtinguisher) Next() types.Node

type HeatWaterActivity

type HeatWaterActivity struct {
	// contains filtered or unexported fields
}

func (*HeatWaterActivity) Accept

func (h *HeatWaterActivity) Accept(visitor types.NodeVisitor)

func (*HeatWaterActivity) Execute

func (h *HeatWaterActivity) Execute() error

func (*HeatWaterActivity) Name

func (h *HeatWaterActivity) Name() string

func (*HeatWaterActivity) Next

func (h *HeatWaterActivity) Next() types.Node

func (*HeatWaterActivity) WaterTemperature

func (h *HeatWaterActivity) WaterTemperature() int

type MeltIce

type MeltIce struct {
	// contains filtered or unexported fields
}

func (*MeltIce) Accept

func (m *MeltIce) Accept(visitor types.NodeVisitor)

func (*MeltIce) Execute

func (m *MeltIce) Execute() error

func (*MeltIce) Name

func (m *MeltIce) Name() string

func (*MeltIce) Next

func (m *MeltIce) Next() types.Node

type MixIngredientsFork

type MixIngredientsFork struct {
	// contains filtered or unexported fields
}

func (*MixIngredientsFork) Accept

func (m *MixIngredientsFork) Accept(visitor types.NodeVisitor)

func (*MixIngredientsFork) Legs

func (m *MixIngredientsFork) Legs() []types.Task

func (*MixIngredientsFork) Name

func (m *MixIngredientsFork) Name() string

func (*MixIngredientsFork) Next

func (m *MixIngredientsFork) Next() types.Node

type StirMug

type StirMug struct {
	// contains filtered or unexported fields
}

func (*StirMug) Accept

func (s *StirMug) Accept(visitor types.NodeVisitor)

func (*StirMug) Execute

func (s *StirMug) Execute() error

func (*StirMug) Name

func (s *StirMug) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL