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

io.snyk.snyk_maven_plugin.command.Command Maven / Gradle / Ivy

Go to download

Tests and monitors your Maven dependencies for vulnerabilities. This plugin is officially maintained by Snyk.io

The newest version!
package io.snyk.snyk_maven_plugin.command;

public enum Command {

    CODE_TEST("code", "test"),
    CONTAINER_TEST("container", "test"),
    TEST("test"),
    MONITOR("monitor"),
    VERSION("version");

    private final String[] commandParameters;

    Command(String... commandParameters) {
        this.commandParameters = commandParameters;
    }

    public String[] commandParameters() {
        return commandParameters;
    }

    public String commandName() {
        return String.join(" ", commandParameters());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy