/** | |
* Copyright (c)2020 CEA LIST, Committer Name, and others. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License 2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/legal/epl-2.0/ | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
* Contributors: | |
* CEA LIST - Initial API and implementation | |
* Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr | |
* | |
*/ | |
package org.eclipse.papyrus.pdp4eng.designer.engine.api; | |
import java.util.ArrayList; | |
/** | |
* Req003.001: the system shall have a catalog to sore all possible strategies. | |
* <BR> | |
* Req003.002: the calalog shall provide to developer add their own strategies. | |
* <BR> | |
* | |
*/ | |
public interface IStrategyCatalog { | |
/** | |
* getter of possible rules | |
* @return the list of possible rules | |
*/ | |
public ArrayList<IStrategy> getPossibleStrategies(); | |
/** | |
* Add a strategy inside the Catalog | |
* @param newStrategy add this strategy inside the catalog | |
*/ | |
public void addStrategy(IStrategy newStrategy); | |
/** @return the Id of the catalog**/ | |
public String getId(); | |
} | |