
com.makitoo.Event Maven / Gradle / Ivy
package com.makitoo;
import org.json.JSONObject;
/**
* Created by nicolas on 23/01/17.
*/
public class Event {
final String name;
private JSONObject properties = new JSONObject();
public Event(String name) {
this.name = name;
}
public Event withProperty(String name, String value) {
properties.put(name, value);
return this;
}
public String getName() {
return name;
}
public JSONObject getProperties() {
return properties;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy