Action Reactoring (AbstractOperationAction)
[egit.git] / org.eclipse.egit.core / src / org / eclipse / egit / core / op / IEGitOperation.java
blobf513a04b16d04c423e7feb887bcf9af43b3ddb4b
1 /*******************************************************************************
2 * Copyright (C) 2010, Jens Baumgart <jens.baumgart@sap.com>
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
9 package org.eclipse.egit.core.op;
11 import org.eclipse.core.runtime.CoreException;
12 import org.eclipse.core.runtime.IProgressMonitor;
13 import org.eclipse.core.runtime.jobs.ISchedulingRule;
15 /**
16 * interface for EGit operations
19 public interface IEGitOperation {
20 /**
21 * Executes the operation
22 * @param monitor
23 * @throws CoreException
25 void execute(IProgressMonitor monitor) throws CoreException;
27 /**
28 * @return the rule needed to execute this operation
30 ISchedulingRule getSchedulingRule();