01: package org.jicengine.operation;
02:
03: /**
04: *
05: * <p>
06: * Copyright (C) 2004 Timo Laitinen
07: * </p>
08: * @author .timo
09: */
10:
11: public class EmptyOperation implements Operation {
12:
13: public static final EmptyOperation INSTANCE = new EmptyOperation();
14:
15: public EmptyOperation() {
16: }
17:
18: public boolean needsParameters() {
19: return false;
20: }
21:
22: public boolean needsParameter(String name) {
23: return false;
24: }
25:
26: public Object execute(Context context) throws OperationException {
27: return null;
28: }
29: }
|