Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandResult.java')
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandResult.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandResult.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandResult.java
new file mode 100644
index 00000000000..09e53154c43
--- /dev/null
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandResult.java
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Wind River Systems and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.cdt.dsf.debug.service.command;
+
+public interface ICommandResult {
+ /**
+ * Returns an ICommandResult which is a subset command result. The command
+ * result which is being passed in is from a coalesced command. The result
+ * which is desired is contained within those results. In this instance we
+ * are processing the command result from the coalesced command to get our
+ * command result.
+ * <i>Note:</i> The type of returned command result must match the type
+ * associated with the subset command that is passed in the argument.
+ *
+ * @return result for this particular command.
+ */
+ public <V extends ICommandResult> V getSubsetResult( ICommand<V> command );
+}

Back to the top