src.main.java.com.vincomobile.fw.basic.hooks.HookResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vincofw-basic Show documentation
Show all versions of vincofw-basic Show documentation
Vincomobile framework (Basic components)
package com.vincomobile.fw.basic.hooks;
import java.util.HashMap;
import java.util.Map;
public class HookResult {
public Map values = new HashMap<>();
public boolean success = true;
public String error = "";
public void put(String key, Object value) {
this.values.put(key, value);
}
public Object get(String key) {
return values.get(key);
}
public boolean hasKey(String key) {
return values.containsKey(key);
}
public void setError(String error) {
this.success = false;
this.error = error;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy