blob: b38176d8b6ec62c15f0b25930ff79d11a429b090 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005, 2007 BEA Systems, Inc.
* 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:
* Konstantin Komissarchik
******************************************************************************/
package org.eclipse.jst.j2ee.archive;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
/**
* Used in conjunction with the <code>org.eclipse.jst.j2ee.archiveExportParticipants</code>
* extension point in order to extend the base module archive export operation.
*
* @since 3.0
* @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a>
*/
public interface IArchiveExportParticipant
{
/**
* Creates the data model that will be used to configure the operation.
*
* @param rootArchiveExportDataModel the data model of the module archive export
* operation that this participant is extending
* @return the created data model
*/
IDataModel createDataModel( IDataModel rootArchiveExportDataModel );
/**
* Creates the operation that will be invoked in order to let this extension
* participate in the export process.
*
* @param extensionDataModel the data model associated with this export
* participant (previously returned by the createDataModel() method)
* @return the created operation
*/
IDataModelOperation createOperation( IDataModel extensionDataModel );
}