package org.jboss.shamrock.deployment.builditem;

import java.util.Objects;

import org.jboss.builder.item.MultiBuildItem;

/**
 * Describes a functionality provided by an extension. The info is displayed to users.
 */
public final class FeatureBuildItem extends MultiBuildItem {

    public static final String CDI = "cdi";
    public static final String TRANSACTIONS = "transactions";
    public static final String WEBSOCKET = "websocket";
    public static final String JAX_RS = "jax-rs";
    public static final String MP_HEALTH = "mp-health";
    public static final String MP_OPENAPI = "mp-openapi";
    public static final String MP_METRICS = "mp-metrics";
    public static final String MP_FAULT_TOLERANCE = "mp-fault-tolerance";
    public static final String MP_OPENTRACING = "mp-opentracing";
    public static final String MP_REST_CLIENT = "mp-rest-client";
    public static final String MP_REACTIVE_OPERATORS = "mp-reactive-streams-operators";
    public static final String MP_REACTIVE_MESSAGING = "mp-reactive-streams-messaging";
    public static final String REACTIVE_CONVERTERS = "reactive-type-converters";
    public static final String BEAN_VALIDATION = "mp-bean-validation";
    public static final String JPA = "jpa";
    public static final String SCHEDULER = "scheduler";
    public static final String VERTX = "vertx";
    
    private final String info;
    
    public FeatureBuildItem(String info) {
        this.info = Objects.requireNonNull(info);
    }

    public String getInfo() {
        return info;
    }

}

@@ -1171,19 +1171,16 @@
 TION = %22
-mp-
 bean-val
@@ -1337,20 +1337,16 @@
 vertx%22;%0A
-    
 %0A    pri
@@ -1369,20 +1369,16 @@
 g info;%0A
-    
 %0A    pub

Fix Bean Validation extension feature name