Skip to content

ZosReleaseComponentDirectory

The ZosReleaseComponentDirectory object represents a Unix subdirectory within a release library. This object can be obtained using the GetComponents method of either ZosReleaseLibrary or ZosReleaseComponentDirectory.

ZosReleaseComponentDirectory Properties

ZosReleaseComponentDirectory exposes the following properties:

Property Type R/W Description
Name String R File name for component, including file extension (inherited from ZosReleaseComponentObject).
Path String R Full file system path name for the component (inherited from ZosReleaseComponentObject).

...

ZosReleaseComponentDirectory Methods

ZosReleaseComponentDirectory exposes the following methods:

GetComponent Method

Gets a single component by file name. The file name must reside in this subdirectory level.

ZosReleaseComponentFile  GetComponent(  
        String fileName  
        ) 

GetComponents Method

Gets an array of components that belong to a release library. The list can optionally be filtered by component name. This function only returns components in this subdirectory level and the array returned contains both directory and file objects. To retrieve components in lower level subdirectories, use the GetComponents method of the parent ZosReleaseComponentDirectory object.

Overrides

GetComponents()

ZosReleaseComponentObject[] GetComponents() 

...

GetComponents(String)

ZosReleaseComponentObject[] GetComponents( 
        String nameFilter 
        ) 

...

Back to top