blob: 045f17a1559f4bd5e70c841ef76129cd23740576 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011-2018 EclipseSource Muenchen GmbH 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:
* jonas - initial API and implementation
******************************************************************************/
package org.eclipse.emfforms.bazaar;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Marks a method within a {@link BazaarContextFunction}. This method can request arbitrary parameters from the
* {@link BazaarContext} and exchanges them to a parameter. This parameter is returned by the method.
*
* @author jonas
*
*/
@Retention(RUNTIME)
@Target(METHOD)
public @interface Exchange {
}