|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.api.common.lifecycle.ServiceLifecycleProvider.Validator
public static class ServiceLifecycleProvider.Validator
The Validator is used validate a dependencyId and dependency against a list of DependencyDescriptors.
| Constructor Summary | |
|---|---|
ServiceLifecycleProvider.Validator()
|
|
| Method Summary | |
|---|---|
static boolean |
validateService(List<DependencyDescriptor> descriptors,
String dependencyId,
Object dependency)
Validates an id and dependency against a list of DependencyDescriptors. |
static boolean |
validateServiceId(List<DependencyDescriptor> descriptors,
String dependencyId)
Returns true if there is a DependencyDescriptor with the given dependency id. |
static boolean |
validateServices(List<DependencyDescriptor> descriptors,
Map<String,Object> depdendencies)
Validates a map of dependency ids and services to validate against a list of DependencyDescriptors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceLifecycleProvider.Validator()
| Method Detail |
|---|
public static boolean validateServices(List<DependencyDescriptor> descriptors,
Map<String,Object> depdendencies)
descriptors - list of DependencyDescriptors needed to be matcheddepdendencies - map of ids and dependencies
public static boolean validateService(List<DependencyDescriptor> descriptors,
String dependencyId,
Object dependency)
descriptors - list of DependencyDescriptors to match againstdependencyId - id for the dependencydependency - dependency to validate
public static boolean validateServiceId(List<DependencyDescriptor> descriptors,
String dependencyId)
descriptors - list of DependencyDescriptors to searchdependencyId - dependency id to search for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||