Class DependencyTaskBuilder
java.lang.Object
org.jboss.threads.DependencyTaskBuilder
A builder for a dependency task.
-
Method Summary
Modifier and TypeMethodDescriptionadd(Collection<Dependency> dependencies) Add many dependencies.add(Dependency dependency) Add a dependency.add(Dependency... dependencies) Add many dependencies.create()Create, and possibly execute, a dependent task from this builder.
-
Method Details
-
add
Add a dependency.- Parameters:
dependency- the dependency- Returns:
- this builder
-
add
Add many dependencies.- Parameters:
dependencies- the dependencies- Returns:
- this builder
-
add
Add many dependencies.- Parameters:
dependencies- the dependencies- Returns:
- this builder
-
create
Create, and possibly execute, a dependent task from this builder.- Returns:
- the new dependent task
-