blob: 1cf64f53b74208142bdae98f5cb4a3c31258aea4 [file] [log] [blame]
/**
*
* Copyright (c) 2009-2010 Thales Corporate Services S.A.S.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Thales Corporate Services S.A.S - initial API and implementation
*
*/
package org.eclipse.egf.model.pattern;
/**
* TODO Ici on ne devrait avoir qu'une pauvre map avec name-valeur. Son
* initialisation étant à la charge de l'orchestrateur. TODO il faudrait ajouetr
* un peu de control pour savoir les noms en lecture et ceux en écriture.
*
*
* @author Thomas Guiu
*
*/
public interface PatternContext {
/**
* Public Keys to manage the patter execution reporter.
*/
final String PATTERN_OUTPUT_PROCESSOR = "pattern.output.processor"; //$NON-NLS-1$
final String PATTERN_REPORTER = "pattern.execution.reporter"; //$NON-NLS-1$
final String PATTERN_ID = "pattern.id"; //$NON-NLS-1$
final String CALL_BACK_HANDLER = "pattern.call.back.handler"; //$NON-NLS-1$
final String DOMAIN_DRIVEN_STRATEGY_VISITOR = "pattern.domain.driven.visitor"; //$NON-NLS-1$
final String PATTERN_IDS_PARAMETER = "pattern.ids"; //$NON-NLS-1$
final String PATTERN_SUBSTITUTIONS = "pattern.substitutions"; //$NON-NLS-1$
final String DOMAIN_OBJECTS = "domain"; //$NON-NLS-1$
/**
* keys to manage the context injected to a pattern.
*/
final String INJECTED_CONTEXT = "internal.injected.context"; //$NON-NLS-1$
final String PATTERN_RESOURCESET = "internal.pattern.resourceset"; //$NON-NLS-1$
/**
* key to manage the object collection to perform queries on.
*/
void setValue(String name, Object value);
Object getValue(String name);
}