|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ZOSPhysicalResourceFinder
The ZOSPhysicalResourceFinder interface provides the ability to
find and retrieve a physical MVS resource from the model.
The singleton instance can be obtained via eINSTANCE static field.
The following code shows a sample usage of this class:
ZOSResourceIdentifier identifier = ZosfactoryFactory.eINSTANCE.createZOSResourceIdentifier(); identifier.setDataSetName(dataset); identifier.setMemberName(member); identifier.setSystem(systemName); IPhysicalResource res = ZOSPhysicalResourceFinder.eINSTANCE.findPhysicalResource(identifier);
ZOSResourceIdentifier| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
static ZOSPhysicalResourceFinder |
eINSTANCE
The singleton instance of the ZOSPhysicalResourceFinder. |
| Method Summary | |
|---|---|
IPhysicalResource |
findPhysicalResource(ZOSResourceIdentifier identifier)
Finds the corresponding physical resource for the given ZOSResourceIdentifier object. |
IPhysicalResource |
findPhysicalResourceInModel(ZOSResourceIdentifier identifier)
Finds the corresponding physical resource in the model for the given ZOSResourceIdentifier object. |
| Methods inherited from interface com.ibm.ftt.resources.core.factory.IPhysicalResourceFinder |
|---|
findPhysicalResource, findPhysicalResource |
| Field Detail |
|---|
static final String COPY_RIGHT
static final ZOSPhysicalResourceFinder eINSTANCE
ZOSPhysicalResourceFinder.
| Method Detail |
|---|
IPhysicalResource findPhysicalResource(ZOSResourceIdentifier identifier)
ZOSResourceIdentifier object. If the resource is not found
in the model, query the file system.
If the memberName of the identifier is null,
this method tries to find a data set. If it is not null,
tries to find a PDS member.
identifier - a z/OS resource identifier that contains name of
system, data set and member
null if not foundfindPhysicalResourceInModel(ZOSResourceIdentifier)IPhysicalResource findPhysicalResourceInModel(ZOSResourceIdentifier identifier)
ZOSResourceIdentifier object.
This method will not query the file system.
If the memberName of the identifier is null,
this method tries to find a data set. If it is not null,
tries to find a PDS member.
identifier - a z/OS resource identifier that contains name of
system, data set and member
null if not foundfindPhysicalResource(ZOSResourceIdentifier)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||