Indicator derived from Configurable
This commit is contained in:
parent
2e34143467
commit
aafe70d02b
@ -25,6 +25,7 @@
|
||||
*/
|
||||
package indicators;
|
||||
|
||||
import org.json.JSONObject;
|
||||
import sesim.Indicator;
|
||||
|
||||
/**
|
||||
@ -42,4 +43,15 @@ public class BaseIndicator implements Indicator{
|
||||
public String getDescription() {
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONObject getConfig() {
|
||||
return new JSONObject();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void putConfig(JSONObject cfg) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ package sesim;
|
||||
*
|
||||
* @author 7u83 <7u83@mail.ru>
|
||||
*/
|
||||
public interface Indicator {
|
||||
public interface Indicator extends ConfigurableInterface{
|
||||
public String getName();
|
||||
public String getDescription();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user