xworker.statistics.flow.DataSaver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xworker_app Show documentation
Show all versions of xworker_app Show documentation
XWorker app model liberary.
The newest version!
package xworker.statistics.flow;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import xworker.dataObject.DataObject;
public class DataSaver {
public Thing thing;
public ActionContext actionContext;
public FlowStatistics flowStatistics;
public Object object;
public DataSaver(FlowStatistics flowStatistics, Thing thing, ActionContext actionContext){
this.flowStatistics = flowStatistics;
this.thing = thing;
this.actionContext = actionContext;
}
public void init(){
thing.doAction("init", actionContext, "dataSaver", this);
}
public void close(){
thing.doAction("close", actionContext, "dataSaver", this);
}
public void save(DataObject data){
thing.doAction("save", actionContext, "data", data, "dataSaver", this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy