| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hercules.API.Task
Documentation
A task, typically performed by the agent.
The phantom represents the type of task. See AnyTask.
Instances
| Eq (Task a) Source # | |
| Show (Task a) Source # | |
| Generic (Task a) Source # | |
| ToJSON (Task a) Source # | |
Defined in Hercules.API.Task | |
| FromJSON (Task a) Source # | |
| ToSchema (Task a) Source # | |
Defined in Hercules.API.Task Methods declareNamedSchema :: Proxy (Task a) -> Declare (Definitions Schema) NamedSchema # | |
| type Rep (Task a) Source # | |
Defined in Hercules.API.Task type Rep (Task a) = D1 (MetaData "Task" "Hercules.API.Task" "hercules-ci-api-agent-0.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) (C1 (MetaCons "Task" PrefixI True) (S1 (MetaSel (Just "typ") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Id (Task a))))) | |
uncheckedCast :: Task a -> Task b Source #