blob: bd90e42dfec1ebb6ef1ab449e997cf705249ba4b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2011 Obeo.
* 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:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.acceleo.engine.internal.utils;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* A dynamic module contribution.
*
* @author <a href="mailto:stephane.begaudeau@obeo.fr">Stephane Begaudeau</a>
*/
public class DynamicModuleContribution {
/**
* The generator IDs.
*/
private List<String> generatorIDs = new ArrayList<String>();
/**
* The module files.
*/
private List<File> files = new ArrayList<File>();
/**
* The constructor.
*
* @param generatorIDs
* The generator ID.
* @param files
* The files of the dynamic modules.
*/
public DynamicModuleContribution(List<String> generatorIDs, List<File> files) {
this.generatorIDs = generatorIDs;
this.files = files;
}
/**
* Returns the generator IDs.
*
* @return the generator IDs.
*/
public List<String> getGeneratorIDs() {
return generatorIDs;
}
/**
* Returns the files of the dynamic modules.
*
* @return The files of the dynamic modules.
*/
public List<File> getFiles() {
return files;
}
}