io.engineblock.activities.json.JsonActionDispenser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of at-json Show documentation
Show all versions of at-json Show documentation
A engineblock ActivityType (AT) driver module;
Provides an activity capable of writing results out via JSON
package io.engineblock.activities.json;
import io.engineblock.activityapi.Action;
import io.engineblock.activityapi.ActionDispenser;
public class JsonActionDispenser implements ActionDispenser {
private JsonActivity activity;
public JsonActionDispenser(JsonActivity activity){
this.activity = activity;
}
@Override
public Action getAction(int slot) {
return new JsonAction(slot, activity);
}
}