public class DependencyValidationHelper extends Object
Constructor and Description |
---|
DependencyValidationHelper() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
buildProvidesMap(Topology topology)
Build a map using the provides values of the Domain, Cluster, and Server objects.
|
static void |
validateDependencies(Topology topology)
Check the topology for Dependency objects and make sure there is a corresponding Provides field.
|
public static void validateDependencies(Topology topology) throws FMWEnvSpecException
topology
- to validateFMWEnvSpecException
- in the event of an CheckStateOf without a corresponding Providespublic static Map<String,Object> buildProvidesMap(Topology topology) throws FMWEnvSpecException
topology
- a Topology objectFMWEnvSpecException
- in the event of a duplicate in the provides value