Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

examples package: Gloop steps

Gloop steps are analogous to Java statements. There are multiple types of Gloop steps, each used for a specific purpose. The examples package provides services demonstrating the various ways in which each of the basic Gloop steps can be used.

Try it!

In the Navigator, expand the examples package and navigate to the code folder, then expand the basicSteps package. This package contains the files as shown below:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
examples
├── ...
└── code
    └── ...
    └── basicSteps
        ├── BlockStep.gloop
        ├── ConcurrentStep.gloop
        ├── ForkStep.gloop
        ├── GloovyStep.gloop
        ├── IterateStep.gloop
        ├── MapStep.gloop
        ├── RandomStep.gloop
        └── WhileBreakStep.gloop

Each service is named after the step it demonstrates the usage of. Simply run these services to familiarize yourself with the different step types; line comments are provided for further explanation1.

No BreakStep.gloop?

The break step example is already included in the WhileBreakStep.gloop service as by itself, a break step cannot demonstrate its intended use.


  1. Open the Gloop service file to see comments. Make sure comments are also not hidden.