public class HelmProjectType extends Object
| Constructor and Description |
|---|
HelmProjectType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(File directory)
To know if the project is an Helm project type.
|
com.github.zafarkhaja.semver.Version |
getCurrentVersion(File directory,
ProcessHelper processHelper)
Return the next version of the version attribute.
|
void |
writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper) |
public boolean check(File directory)
directory - The directory to check. Mandatorypublic com.github.zafarkhaja.semver.Version getCurrentVersion(File directory, ProcessHelper processHelper) throws IOException
directory - The project's directory.processHelper - Not used.IOException - If an error occur reading files.public void writeVersion(File directory, com.github.zafarkhaja.semver.Version nextVersion, ProcessHelper processHelper) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2021. All rights reserved.