public enum BuildTool extends Enum<BuildTool>
| Enum Constant and Description |
|---|
GRADLE
Gradle build tool
|
MAVEN
Maven build tool
|
| Modifier and Type | Method and Description |
|---|---|
BuildFile |
getBuildFile(ProjectWriter writer) |
String[] |
getBuildFiles() |
String |
getDependenciesFile() |
String |
getGitIgnoreEntries() |
static BuildTool |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildTool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildTool MAVEN
public static final BuildTool GRADLE
public static BuildTool[] values()
for (BuildTool c : BuildTool.values()) System.out.println(c);
public static BuildTool valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getGitIgnoreEntries()
\n-separated lines to add to a .gitignore filepublic String[] getBuildFiles()
public String getDependenciesFile()
public BuildFile getBuildFile(ProjectWriter writer) throws IOException
IOExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.