GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - datomo/workflow_framework

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
out/production/Workflow_Framework/META-INF
out/production/Workflow_Framework/META-INF
 
 
src/ch/gangoffour/workflow
src/ch/gangoffour/workflow
 
 
.gitignore
.gitignore
 
 
ExcerciseAnswers.md
ExcerciseAnswers.md
 
 
README.md
README.md
 
 
Workflow_Framework.iml
Workflow_Framework.iml
 
 
package_workflow.png
package_workflow.png
 
 

Repository files navigation

Workflow Framework

This framework is part of a exercise in the "Software Architecture" lecture at university Basel.

Exercise Answers

The answers to the given exercise can be found in ExerciseAnswers

Additional Functionality Example for exe 4

// Example use of our executable message in a simple workflow
FixedSender<Message<Integer, ExecutableBody<String, String>>> messageSender = new FixedSender<>(
        new Message<>(0, new ExecutableBody<>(m -> {
                System.out.println(m);
                sender.start();
            }, "this is the body")));
new ExecutingReceiver<>(messageSender.getOutput(), "Hello, World!");
messageSender.start();

UML

Link to the UML

Getting Started

Simple example of our workflow framework using Doubles.

FixedSender<Double> sender = new FixedSender<>(2.00, 3.00, 4.00, -3.5);
Multiplier times2 = new Multiplier(sender.getOutput(),2);
new PrintReceiver<>(times2.getOutput());
sender.start();
//output
4.0
6.0
8.0
-7.0

Workflow nodes for other types can easily be implemented. For instance:

public class Reverser extends Transformer<String> {

    public Reverser(Output<String> input){
        super(input);
    }

    @Override
    protected String transform(String value) {
        return new StringBuilder(value).reverse().toString();
    }
}

More elaborate example can be found in main

Prerequisites

To run the program java 8 is required.

Caution

This framework is mostly barebones at the moment so dont expect too much functionality.

Built With

  • Java 8 - Java Language JDK version 8

Authors

  • Isabel Geissmann - isabelge
  • Jannik Jaberg - cptunderground
  • Rik de Graaff - overacter
  • David Lengweiler - datomo

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.