io.snyk.snyk_maven_plugin.command.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snyk-maven-plugin Show documentation
Show all versions of snyk-maven-plugin Show documentation
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());
}
}