1 /*******************************************************************************
2 * Copyright (c) 2016 Ecole Polytechnique de Montreal, Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 ******************************************************************************/
9 package org
.eclipse
.tracecompass
.tmf
.analysis
.xml
.core
.model
;
11 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
14 * Interface for an action behavior. An action is an output of the pattern.
15 * Basically something that the pattern needs to do if it reaches a given state.
17 * @author Jean-Christian Kouame
20 public interface ITmfXmlAction
{
22 /** The save stored fields action label */
23 String SAVE_STORED_FIELDS_STRING
= "saveStoredFields"; //$NON-NLS-1$
25 /** The clear stored fields action label */
26 String CLEAR_STORED_FIELDS_STRING
= "clearStoredFields"; //$NON-NLS-1$
34 * The active scenario details. Or <code>null</code> if there is
37 void execute(ITmfEvent event
, TmfXmlScenarioInfo scenarioInfo
);