Enum InstallStep
- java.lang.Object
-
- java.lang.Enum<InstallStep>
-
- de.dytanic.cloudnet.template.install.run.step.InstallStep
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InstallStep>
public enum InstallStep extends java.lang.Enum<InstallStep>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.Set<java.nio.file.Path>execute(@NotNull InstallInformation installInformation, @NotNull java.nio.file.Path workingDirectory, @NotNull java.util.Set<java.nio.file.Path> inputPaths)voidinterrupt()static InstallStepvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InstallStep[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOWNLOAD
public static final InstallStep DOWNLOAD
-
BUILD
public static final InstallStep BUILD
-
UNZIP
public static final InstallStep UNZIP
-
COPY_FILTER
public static final InstallStep COPY_FILTER
-
DEPLOY
public static final InstallStep DEPLOY
-
PAPER_API
public static final InstallStep PAPER_API
-
-
Method Detail
-
values
public static InstallStep[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstallStep c : InstallStep.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstallStep valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
execute
@NotNull public @NotNull java.util.Set<java.nio.file.Path> execute(@NotNull @NotNull InstallInformation installInformation, @NotNull @NotNull java.nio.file.Path workingDirectory, @NotNull @NotNull java.util.Set<java.nio.file.Path> inputPaths) throws java.io.IOException- Throws:
java.io.IOException
-
interrupt
public void interrupt()
-
-