All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.cli.common.DataOptions Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version
package io.quarkus.cli.common;

import java.util.HashMap;
import java.util.Map;

import picocli.CommandLine;

public class DataOptions {

    public Map data = new HashMap<>();

    @CommandLine.Option(names = "--data", mapFallbackValue = "", description = "Additional data")
    void setData(Map data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return data.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy