00001 /* 00002 * Command.java 00003 * 00004 * Created on May 27, 2005, 7:13 PM 00005 * Created by Detro - 566/2145 00006 */ 00007 00008 package org.jaebi.server.service; 00009 00010 import org.jaebi.server.service.exception.CommandExecException; 00011 00022 abstract public class Command { 00025 protected boolean executed = false; 00026 00032 public boolean isExecuted() { return executed; } 00033 00040 public abstract Object execute() throws CommandExecException; 00041 00047 public abstract String getType(); 00048 00054 public abstract String toString(); 00055 }