blob: 3521b473a1831ba36b9be6ed50ac08a04787cb07 [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.TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to allow {@link Vendor}s to specify an array of {@link Precondition}s.
*
* @author jonas
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(TYPE)
public @interface Preconditions {
/**
* An array of {@link Precondition}s.
*
* @return An array of {@link Precondition}s
*/
Precondition[] preconditions();
}