19 package org.turro.plugin.command;
21 import java.util.ArrayList;
22 import java.util.Collection;
23 import org.turro.command.Command;
24 import org.turro.command.Context;
25 import org.turro.elephant.context.Application;
26 import org.turro.plugin.contacts.IContact;
32 public abstract class SummaryPlugin
implements IPlugin, Command {
34 protected String
name;
36 protected Collection<Object>
result;
76 result =
new ArrayList<Object>();
81 protected abstract void executePlugin(Context context)
throws Exception;
Map< String, Object > params
boolean stopsPropagating()
SummaryPlugin(String name)
abstract void executePlugin(Context context)
void addToResult(Object data)
static Collection< Object > getSummaryFor(Application app, IContact contact, String name)
Object execute(Context context)
Collection< Object > result
void setParams(Object params)