Package pro.gravit.launchserver.binary
Class BinaryPipeline
java.lang.Object
pro.gravit.launchserver.binary.BinaryPipeline
- Direct Known Subclasses:
LauncherBinary
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Predicate<LauncherBuildTask> pred, LauncherBuildTask taskAdd)voidaddAfter(Predicate<LauncherBuildTask> pred, LauncherBuildTask taskAdd)voidaddCounted(int count, Predicate<LauncherBuildTask> pred, LauncherBuildTask taskAdd)voidaddPre(Predicate<LauncherBuildTask> pred, LauncherBuildTask taskAdd)void<T extends LauncherBuildTask>
Optional<T>getTaskByClass(Class<T> taskClass)<T extends LauncherBuildTask>
List<T>getTasksByClass(Class<T> taskClass)nextLowerPath(LauncherBuildTask task)nextPath(LauncherBuildTask task)voidreplace(Predicate<LauncherBuildTask> pred, LauncherBuildTask taskRep)voidreplaceAfter(Predicate<LauncherBuildTask> pred, LauncherBuildTask taskRep)voidreplaceCounted(int count, Predicate<LauncherBuildTask> pred, LauncherBuildTask taskRep)voidreplacePre(Predicate<LauncherBuildTask> pred, LauncherBuildTask taskRep)
-
Field Details
-
tasks
-
count
-
buildDir
-
nameFormat
-
-
Constructor Details
-
BinaryPipeline
-
-
Method Details
-
addCounted
-
replaceCounted
public void replaceCounted(int count, Predicate<LauncherBuildTask> pred, LauncherBuildTask taskRep) -
addPre
-
add
-
addAfter
-
replacePre
-
replace
-
replaceAfter
-
getTasksByClass
-
getTaskByClass
-
build
- Throws:
IOException
-
nextName
-
nextPath
-
nextPath
-
nextLowerPath
-