package pl.touk.nussknacker.engine.api.editor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface SimpleEditor {

    SimpleEditorType type();

    /**
     * This field should be used only with {@link SimpleEditorType#FIXED_VALUES_EDITOR}
     */
    LabeledExpression[] possibleValues() default {};
}
