public class AnyRequirement extends Object implements DependencyRequirement
| Constructor and Description |
|---|
AnyRequirement(String name,
Dependency... dependencies) |
AnyRequirement(String name,
List<Dependency> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
boolean |
satisfiedBy(Target target,
Collection<Dependency> currDeps) |
List<DependencyAddition> |
suggestDependencies(Target target,
Collection<Dependency> currentDeps) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescriptionpublic AnyRequirement(String name, List<Dependency> dependencies)
public AnyRequirement(String name, Dependency... dependencies)
public String name()
name in interface DependencyRequirementpublic boolean satisfiedBy(Target target, Collection<Dependency> currDeps)
satisfiedBy in interface DependencyRequirementpublic List<DependencyAddition> suggestDependencies(Target target, Collection<Dependency> currentDeps)
suggestDependencies in interface DependencyRequirementCopyright © 2022. All rights reserved.