class

Patty::Services::Adapter

Inherits Reference < Object

Platform adapter interface (spec ยง12). Adapters are dumb: they answer "can you control this program?" and do start/stop/restart/status.

Instance methods

available?(program : String) : Bool
Source
name
Source
restart(program : String) : Result
Source
start(program : String) : Result
Source
status(program : String) : Status
Source
stop(program : String) : Result
Source