Class: LaunchAgentManager
- Includes:
- LaunchAgentManagementInstanceMethods, LaunchAgentManagerInstanceMethods, XMLHelperInstanceMethods
- Defined in:
- lib/kanseishitsu/launch_agent_manager.rb,
lib/kanseishitsu/cron/launch_agent_manager_rexml.rb
Overview
Define the LaunchAgentManager class
Direct Known Subclasses
Constant Summary
Constants included from LaunchAgentManagerConstants
LaunchAgentManagerConstants::BOOTOUT_TEMPLATE, LaunchAgentManagerConstants::INTERVALS, LaunchAgentManagerConstants::LABEL_NAMESPACE, LaunchAgentManagerConstants::LAUNCHCTL_TEMPLATE, LaunchAgentManagerConstants::LAUNCH_AGENTS_DIR_PATH, LaunchAgentManagerConstants::REMOVE_TEMPLATE, LaunchAgentManagerConstants::SCHEDULE_PARTS_COUNT, LaunchAgentManagerConstants::SUCCESS_MESSAGE, LaunchAgentManagerConstants::VERSION
Constants included from XMLHelperInstanceMethods
XMLHelperInstanceMethods::CDATA_PATTERN, XMLHelperInstanceMethods::KEYS_REQUIRING_CDATA
Constants included from LaunchAgentConstants
LaunchAgentConstants::BOOTOUT_TEMPLATE, LaunchAgentConstants::CDATA_PATTERN, LaunchAgentConstants::DEFAULT_ENCODING, LaunchAgentConstants::DOCTYPES, LaunchAgentConstants::DOCTYPE_ELEMENT, LaunchAgentConstants::INTERVALS, LaunchAgentConstants::INTERVAL_XPATH_TEMPLATE, LaunchAgentConstants::KEYS_REQUIRING_CDATA, LaunchAgentConstants::LABEL_NAMESPACE, LaunchAgentConstants::LABEL_XPATH, LaunchAgentConstants::LAUNCHCTL_TEMPLATE, LaunchAgentConstants::LAUNCH_AGENTS_DIR_PATH, LaunchAgentConstants::LOCAL_STRING_XPATH, LaunchAgentConstants::ON_LOGIN, LaunchAgentConstants::PROGRAM_ARGUMENTS_XPATH, LaunchAgentConstants::REMOVE_TEMPLATE, LaunchAgentConstants::SCHEDULE_PARTS_COUNT, LaunchAgentConstants::SCHEDULE_XPATH_TEMPLATE, LaunchAgentConstants::START_CALENDAR_INTERVAL_XPATH, LaunchAgentConstants::SUCCESS_MESSAGE, LaunchAgentConstants::WATCH_PATHS_XPATH
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options) ⇒ LaunchAgentManager
constructor
A new instance of LaunchAgentManager.
Methods included from LaunchAgentManagerInstanceMethods
#create_launchd_job, #derive_calendar_interval, #derive_job_label_from_executable, #executable?, #execute, #explicit_which, #extract_program_path, #find_executable_in_path, #launch_agent_labels, #list_launch_agent_labels, #load_launchd_job, #portable_which, #remove_cron_job, #save_plist, #show_all_cron_jobs
Methods included from XMLHelperInstanceMethods
Methods included from LaunchAgentManagementInstanceMethods
#create_launch_agent, #define_calendar_interval, #define_plist_contents, #derive_job_label_from_file_path, #doctype, #execute, #extract_program_path, #generate_plist_xml, #launch_agent_labels, #list_launch_agent_labels, #load_launchd_job, #parse_plist, #parse_schedule, #remove_launch_agent, #save_plist, #show_all_launch_agents
Methods included from Which
#executable?, #explicit_which, #find_executable_in_path, #portable_which
Constructor Details
#initialize(options) ⇒ LaunchAgentManager
Returns a new instance of LaunchAgentManager.
225 226 227 |
# File 'lib/kanseishitsu/launch_agent_manager.rb', line 225 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
178 179 180 |
# File 'lib/kanseishitsu/cron/launch_agent_manager_rexml.rb', line 178 def @options end |