Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.Extension.SourceControl.ISC.Settings

%ZHSLIB.PackageManager.Developer.Extension.SourceControl.ISC.Settings

persistent class %ZHSLIB.PackageManager.Developer.Extension.SourceControl.ISC.Settings extends %ZHSLIB.PackageManager.Developer.AbstractSettings

SQL Table Name: %ZHSLIB_PackageManager_Developer_Extension_SourceControl_ISC.Settings

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter DESCRIPTION = Perforce integration options;
A string to show in the grouping of settings for this class

Properties (Including Private)

property AutoAdd as %Boolean [ InitialExpression = 0 , Required ];
Automatically mark new resources for add in the "Validate" phase
Property methods: AutoAddDisplayToLogical(), AutoAddGet(), AutoAddGetStored(), AutoAddIsValid(), AutoAddLogicalToDisplay(), AutoAddNormalize(), AutoAddSet()
property AutoMove as %Boolean [ InitialExpression = 1 , Required ];
Automatically move files in Perforce when they are relocated from one module to another (assuming both the source and target module are tied to Perforce, and the file had been marked for add in the original location)
Property methods: AutoMoveDisplayToLogical(), AutoMoveGet(), AutoMoveGetStored(), AutoMoveIsValid(), AutoMoveLogicalToDisplay(), AutoMoveNormalize(), AutoMoveSet()
property FilenameIgnoreExpression as %String) [ InitialExpression = "(\.DS_Store|.bak)$" ];
Regular expression for filenames to ignore in automatic move/mark for add (in ICU syntax used by IRIS). Tested with ($Locate(,settings.FilenameIgnoreExpression) > 0); ending the expression with $ is a useful way to test the end of the string (for example, to exclude certain extensions while allowing the rest of the path to contain them).
Property methods: FilenameIgnoreExpressionDisplayToLogical(), FilenameIgnoreExpressionGet(), FilenameIgnoreExpressionGetStored(), FilenameIgnoreExpressionIsValid(), FilenameIgnoreExpressionLogicalToDisplay(), FilenameIgnoreExpressionLogicalToOdbc(), FilenameIgnoreExpressionNormalize(), FilenameIgnoreExpressionSet()
property Key as %String [ InitialExpression = $classname() , Required , ReadOnly ];
An inherited IDKey index on this property means that the default value is used as a subscript under in the storage definition.
Property methods: KeyCheck(), KeyDelete(), KeyDisplayToLogical(), KeyExists(), KeyGet(), KeyGetStored(), KeyIsValid(), KeyLogicalToDisplay(), KeyLogicalToOdbc(), KeyNormalize(), KeyOpen(), KeySQLCheckUnique(), KeySQLExists(), KeySQLFindPKeyByConstraint(), KeySQLFindRowIDByConstraint()

Methods (Including Private)

private method %OnValidateObject() as %Status [ Language = objectscript ]
Validates FilenameIgnoreExpression by testing it and ensuring no errors occur.
method IgnoreFileName(pFileName As %String, Output pSC As %Status = $$$OK) as %Boolean [ Language = objectscript ]
Sees if pFileName is acceptable based on FilenameIgnoreExpression - i.e., returns 1 if the filename should be ignored, 0 if it should not be.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%ZHSLIB.PackageManager.Developer.Extension.SourceControl.ISC.Settings)

^SYS("SourceControl")(ID)
=
%%CLASSNAME
AutoAdd
AutoMove
FilenameIgnoreExpression