You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
super-hog/README.md

27 lines
832 B

# super-hog
Super Hog is a kind of process runner. It can be Custimize and build a frame to runs Tasks with
different Configurations. Tasks will be configured in a File by Yaml. Like this,
```
name: "Lorem Ipsum RSS"
url: "https://lorem-rss.herokuapp.com/feed"
cron: "0 1 * * *"
actions:
- class: "RssExample"
```
All Yaml-Files that have to be run, have to put in "resources/config/enabled".
## Action
Action Classes are find in "resources/actions". Each Action runs one after another,
and his result will be hand over to the next Action Class. For this you have access
in each Object to a Docket Object. By Default all data will be set to this.result
in a Action. If the class do nothing I/O will be the same.
## Docket
The Docket-Object is holds all Data, States and Configurations. It run to all
Actions.