Module: ProconBypassMan::RemoteAction::RemotePbmJob

Defined in:
lib/procon_bypass_man/remote_action/remote_pbm_job.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/base_action.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/stop_pbm_action.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/reboot_os_action.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/restore_pbm_setting.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/report_procon_status.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/change_pbm_version_action.rb,
lib/procon_bypass_man/remote_action/remote_pbm_job/commands/run_remote_pbm_job_dispatch_command.rb

Defined Under Namespace

Classes: ActionUnexpectedError, BaseAction, ChangePbmVersionAction, NeedPbmVersionError, RebootOsAction, ReportProconStatusAction, RestorePbmSettingAction, RunRemotePbmJobDispatchCommand, StopPbmJob

Constant Summary collapse

ACTION_CHANGE_PBM_VERSION =
"change_pbm_version"
ACTION_REBOOT_OS =
"reboot_os"
ACTION_STOP_PBM =
"stop_pbm"
ACTION_RESTORE_SETTING =
"restore_pbm_setting"
ACTION_REPORT_PORCON_STATUS =
'report_porcon_status'
ACTIONS_IN_MASTER_PROCESS =
[
  ACTION_CHANGE_PBM_VERSION,
  ACTION_REBOOT_OS,
  ACTION_STOP_PBM,
  ACTION_RESTORE_SETTING,
]
ACTIONS_IN_BYPASS_PROCESS =
[
  ACTION_REPORT_PORCON_STATUS,
]
ACTIONS =
ACTIONS_IN_MASTER_PROCESS + ACTIONS_IN_BYPASS_PROCESS
STATUS_FAILED =
:failed
STATUS_IN_PROGRESS =
:in_progress
STATUS_PROCESSED =
:processed
ACTION_STATUSES =
[
  STATUS_FAILED,
  STATUS_IN_PROGRESS,
  STATUS_PROCESSED,
]