KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > operations > IInstallFeatureOperation


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *
11  *******************************************************************************/

12 package org.eclipse.update.operations;
13
14 import org.eclipse.update.core.*;
15
16 /**
17  * An installation operation. This operation should not be executed by itself, it should be
18  * aggregated into a IBatchOperation, together with other IInstallOperations, so that the
19  * validation checks are done on the group, not per installation job.
20  * <p>
21  * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
22  * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
23  * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
24  * (repeatedly) as the API evolves.
25  * </p>
26  * @since 3.0
27  */

28 public interface IInstallFeatureOperation extends IFeatureOperation {
29     /**
30      * If the feature includes optional features, thi method returns the list
31      * of optional features to be installed.
32      * @return the list of optional features to be installed.
33      */

34     public IFeatureReference[] getOptionalFeatures();
35 }
36
Popular Tags