Skip to content

ZosPackageComponentDirectory

The ZosPackageComponentDirectory object represents a Unix subdirectory within a package library. This object can be obtained using the GetComponents method of either ZosPackageLibrary or ZosPackageComponentDirectory.

ZosPackageComponentDirectory Properties

ZosPackageComponentDirectory exposes the following properties:

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

...

ZosPackageComponentDirectory Methods

ZosPackageComponentDirectory exposes the following methods:

GetComponent Method

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

ZosPackageComponentFile  GetComponent(  
        String fileName  
        )

...

GetComponents Method

Gets an array of components that belong to a package library. The list can optionally be filtered by component name and component status. 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 ZosPackageComponentDirectory object.

nameFilter - Name filter

statusFlags - Status filter flags

changeTime - get components changed after the specified time

Overloads

GetComponents()

ZosPackageComponentObject[] GetComponents()

...

ZosPackageComponentObject[] GetComponents( String nameFilter )

ZosPackageComponentObject[]  GetComponents(  
        String nameFilter 
        ) 

...

ZosPackageComponentObject[] GetComponents( DateTime changeTime )

ZosPackageComponentObject[]  GetComponents(  
        DateTime changeTime 
        ) 

...

ZosPackageComponentObject[] GetComponents( ZosComponentStatusFlags flags )

ZosPackageComponentObject[]  GetComponents(  
        ZosComponentStatusFlags flags 
        ) 

...

ZosPackageComponentObject[] GetComponents( String nameFilter, ZosComponentStatusFlags flags )

ZosPackageComponentObject[]  GetComponents(  
        String nameFilter,  
        ZosComponentStatusFlags flags 
        ) 

...

ZosPackageComponentObject[] GetComponents( String nameFilter, ZosComponentStatusFlags flags, DateTime changeTime )

ZosPackageComponentObject[]  GetComponents(  
        String nameFilter,  
        ZosComponentStatusFlags flags,  
        DateTime changeTime  
        )

...

Back to top