blob: f88fdb17367bd3fd6faf8c926428a74f357be566 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*******************************************************************************
* Copyright (c) 2011, 2012 Wind River Systems, Inc. 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.tcf.te.tcf.filesystem.core.internal.operations;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.tcf.te.tcf.filesystem.core.interfaces.IOperation;
/**
* The interface is to defined an operation executor, which executes
* the given operation providing the context including the progress monitor.
*/
public interface IOpExecutor {
/**
* Execute the specified operation providing an execution
* context.
*
* @param operation The operation to be executed.
* @return a result status of the execution.
*/
public IStatus execute(IOperation operation);
}
|