jobqueue-0.0.15: A job queue library
Network.JobQueue.Class
Description
Class definitions
Synopsis
class Env a Source
Environment class
class Env a => ParamEnv a where Source
Environment with a parameter set
Minimal complete definition
Nothing
Methods
envParameters :: a -> [(String, String)] Source
class Show a => Desc a where Source
Description class
desc :: a -> String Source
Define the description of a unit.
shortDesc :: a -> String Source
Define the short description of a unit.
class (Read a, Show a, Desc a, Eq a) => Unit a where Source
Unit class
getPriority :: a -> Int Source
Define the priority of a unit.
getRecovery :: a -> a Source
Define the recovery state of a unit.