Module: Patriot::Command

Defined in:
lib/patriot/command.rb,
lib/patriot/command/base.rb,
lib/patriot/command/parser.rb,
lib/patriot/command/composite.rb,
lib/patriot/command/sh_command.rb,
lib/patriot/command/command_group.rb,
lib/patriot/command/command_macro.rb,
lib/patriot/command/post_processor.rb,
lib/patriot/command/post_processor/base.rb,
lib/patriot/command/post_processor/retrial.rb,
lib/patriot/command/post_processor/skip_on_fail.rb,
lib/patriot/command/post_processor/discard_on_fail.rb,
lib/patriot/command/post_processor/http_notification.rb,
lib/patriot/command/post_processor/mail_notification.rb,
lib/patriot/command/post_processor/slack_notification.rb

Overview

a name space for commands

Defined Under Namespace

Modules: CommandMacro, ExitCode, Parser, PostProcessor Classes: Base, CommandGroup, CompositeCommand, ShCommand

Constant Summary collapse

COMMAND_CLASS_KEY =

a parameter key for command class name (used in jobs)

:COMMAND_CLASS
REQUISITES_ATTR =

attribute name for required products

:requisites
PRODUCTS_ATTR =

attribute name for produced products

:products
STATE_ATTR =

attribute name for job state

:state
PRIORITY_ATTR =

attribute name for job priority

:priority
EXEC_NODE_ATTR =

attribute name for job execution node constraint

:exec_node
EXEC_HOST_ATTR =

attribute name for job execution host constraint

:exec_host
START_DATETIME_ATTR =

attribute name for start time constraint

:start_datetime
POST_PROCESSORS_ATTR =

attribute name for retry configration

:post_processors
COMMON_ATTRIBUTES =

a list of command attributes

[
  REQUISITES_ATTR,
  PRODUCTS_ATTR,
  STATE_ATTR,
  PRIORITY_ATTR,
  EXEC_NODE_ATTR,
  EXEC_HOST_ATTR,
  START_DATETIME_ATTR,
  POST_PROCESSORS_ATTR
]