com.sas.services.deployment
Class ServiceDeployments
java.lang.Object
|
+--com.sas.services.deployment.ServiceDeployments
- public class ServiceDeployments
- extends Object
Utility class used to retrieve SoftwareComponent elements
from an open metadata repository.
- Since:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSoftwareComponent
public static final SoftwareComponent getSoftwareComponent(Root root)
- Get the root
SoftwareComponent element that parents the
metadata hierarchy in which ths specified root element exists.
- Parameters:
root - Metadata object for which we want to determine the
SoftwareComponent that roots its metadata hierarchy.- Returns:
- Root
SoftwareComponent element that parents the
metadata hierarchy in which ths specified root element exists.
A null is returned if a SoftwareComponent
is undefined.
getServices
public static final Set getServices(SoftwareComponent softwareComponent)
- Gets
ServiceComponent elements that are defined within
the specified SoftwareComponent.
- Parameters:
softwareComponent - - Returns:
- List containing elements that are of type
Tree. An empty list is returned in the
event that no Tree elements were found.
getServiceDeployments
public static final List getServiceDeployments(MdStore mdStore,
String metadataId,
Set serviceDeploymentsToFind)
- Gets
SoftwareComponent elements from the specified open
metadata repository.
- Parameters:
mdStore - Metadata object store to be used to create the metadata
SoftwareComponent objects.metadataId - Id of the metadata repository.serviceDeploymentsToFind - Set of String elements representing the SoftwareComponent.Name.- Returns:
- List containing elements that are of type
SoftwareComponent. An empty list is returned in the
event that no SoftwareComponent elements were
found.
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:53