jobqueue-0.0.15: A job queue library

Safe HaskellSafe-Inferred
LanguageHaskell98

Network.JobQueue.Class

Description

Class definitions

Synopsis

Documentation

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

Minimal complete definition

Nothing

Methods

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

Minimal complete definition

Nothing

Methods

getPriority :: a -> Int Source

Define the priority of a unit.

getRecovery :: a -> a Source

Define the recovery state of a unit.