DepotObject - depotObjectExistsByTypeStringGroupAndName

DepotObject - depotObjectExistsByTypeStringGroupAndName

Description :

This command determines whether a depot object exists when you identify the Depot Object by its name and full path to the depot group containing the depot object. You must also provide a string describing the type of depot object. The following is a list of all valid depot object type strings:

  • BLPACKAGE: BlPackage
  • DEPOT_FILE_OBJECT: file
  • NSHSCRIPT: NshScript
  • UCS_TEMPLATE: UCS template
  • UCS_MAC_POOL: UCS MAC pool
  • UCS_UUID_POOL: UCS UUID pool
  • UCS_STORAGE_POOL: UCS storage pool
  • UCS_BOOTABLE_STORAGE_POOL: UCS bootable storage pool
  • AGENT_BUNDLE: Agent Bundle
  • AIX_PATCH_INSTALLABLE: AIX patch
  • AIX_PACKAGE_INSTALLABLE: AIX package
  • HP_PRODUCT_INSTALLABLE: HP-UX product
  • HP_BUNDLE_INSTALLABLE: HP-UX bundle
  • HP_PATCH_INSTALLABLE: HP-UX patch
  • RPM_INSTALLABLE: Linux RPM
  • SOLARIS_PATCH_INSTALLABLE: Solaris patch
  • SOLARIS_PACKAGE_INSTALLABLE: Solaris package
  • HOTFIX_WINDOWS_INSTALLABLE: Windows HotFix
  • SERVICEPACK_WINDOWS_INSTALLABLE: Windows Service Pack
  • MSI_WINDOWS_INSTALLABLE: Windows MSI Package
  • INSTALLSHIELD_WINDOWS_INSTALLABLE: Windows InstallShield Package

Return type : Boolean

Command Input :

Variable Name

Variable Type

Description

typeString

String

String representation of depot object type. For more detailed information, see the description above.

groupPath

String

Fully qualified path to the parent depot group.

objName

String

Name of the depot object.

Example

The following example shows how to check if a depot object exists:

Script

OBJ_EXISTS=`blcli DepotObject depotObjectExistsByTypeStringGroupAndName NSHSCRIPT "/Workspace" "MyScript"`
Was this page helpful? Yes No Submitting... Thank you

Comments