Mage.Stats WS module for getting server stats in json format

This commit is contained in:
magenoxx 2014-08-27 03:38:43 +04:00
parent 78c0d76088
commit 71614becc2
43 changed files with 1587 additions and 0 deletions

View file

@ -0,0 +1,25 @@
package com.xmage.ws.resource;
import com.xmage.core.decorators.Decorator;
import net.minidev.json.JSONObject;
/**
*
* @author noxx
*/
public interface Resource<R> {
int getError();
String getErrorMessage();
String getName();
JSONObject getJSONBody();
R getDefault();
java.util.List<Decorator> getDecorators();
void addDecorator(Decorator decorator);
}