IPM
DependencyAnalyzer Class Reference

Static Public Member Functions

_.Library.Status RunForAllModules ()
 @API.Method More...
 
_.Library.Status RunForAllReferences (_.Library.String pName, pReferences, _.Library.Boolean pVerbose, _.Library.Boolean pSave, pProgressListener, _.Library.String pRunID, _.Library.String pIgnoredStringRef, _.Library.Boolean pDirectDepsOnly)
 @API.Method More...
 
_.Library.Status RunForInvalidReferences (_.Library.String pName, pInvalidReferences, _.Library.Boolean pVerbose, _.Library.Boolean pSave, pProgressListener, _.Library.String pRunID, _.Library.String pIgnoredStringRef, _.Library.Boolean pDirectDepsOnly)
 @API.Method More...
 

Static Public Attributes

 INCPREFIX = None
 Prefix to indentify .inc files.
 

Member Function Documentation

◆ RunForAllModules()

_.Library.Status RunForAllModules ( )
static

@API.Method

@Modifier Availability InterSystems

◆ RunForAllReferences()

_.Library.Status RunForAllReferences ( _.Library.String  pName,
  pReferences,
_.Library.Boolean  pVerbose,
_.Library.Boolean  pSave,
  pProgressListener,
_.Library.String  pRunID,
_.Library.String  pIgnoredStringRef,
_.Library.Boolean  pDirectDepsOnly 
)
static

@API.Method

@Modifier Availability InterSystems pName: Name of the item that you want to run the dependency analyzer on to find all its references. pReferences: multi-dim array of references in the input item, including class/include files + module references pVerbose: default to 1. If set to 1, references will be written to terminal / Studio output window pProgressListener: Dependency analyzer socket for running deps pRunID: ID of ModuleResults persistent class pIgnoredStringRef: comma-separated string of string references that will be ignored. If set to $char(0), then will ignore all string references including classes. pDirectDepsOnly: Include only direct dependencies rather than transitive ones as well.

◆ RunForInvalidReferences()

_.Library.Status RunForInvalidReferences ( _.Library.String  pName,
  pInvalidReferences,
_.Library.Boolean  pVerbose,
_.Library.Boolean  pSave,
  pProgressListener,
_.Library.String  pRunID,
_.Library.String  pIgnoredStringRef,
_.Library.Boolean  pDirectDepsOnly 
)
static

@API.Method

@Modifier Availability InterSystems pName: Name of the module / item that you want to run the dependency analyzer on, to find all invalid references. If no extension is specified, it will be recognized as a module pInvalidReferences: multi-dim array of invalid references in the input module / item, including missing class/include files + missing module references pVerbose: default to 1. If set to 1, invalid references will be written to terminal / Studio output window pProgressListener: Dependency analyzer socket for running deps pRunID: ID of ModuleResults persistent class pIgnoredStringRef: comma-separated string of string references that will be ignored. If set to $char(0), then will ignore all string references including classes. pDirectDepsOnly: Include only direct dependencies rather than transitive ones as well.