class Architect::Plugin

When the main Architect executable runs, it calls out to various Plugin objects to do additional work at various stages.

Attributes

config[R]

The configuration settings for the plugin

name[R]

The name of the plugin

Public Instance Methods

check() click to toggle source

Check to see if any actions need to be taken, and return a list of Architect::ChangeRequest objects for each proposed action

# File lib/architect/plugin.rb, line 25
def check
  []
end
configure(yaml) click to toggle source

Parse a [yaml] configuration file

# File lib/architect/plugin.rb, line 18
def configure(yaml)
  nil
end
design() click to toggle source

Ask questions during the design of a new plan; i.e. when architect –design is called.

# File lib/architect/plugin.rb, line 31
def design
  nil
end
execute() click to toggle source

Execute the proposed actions based on the current plan.

# File lib/architect/plugin.rb, line 41
def execute
  nil
end
plan(yaml) click to toggle source

Parse a YAML plan file and perform validation.

# File lib/architect/plugin.rb, line 36
def plan(yaml)
  nil
end
register() click to toggle source

Called when the plugin is registered

# File lib/architect/plugin.rb, line 13
def register
  nil
end