AcUtils
A high performance abstraction layer for AccuRev
|
A container of AcRule objects that define the attributes of stream and workspace include and exclude rules. More...
Public Member Functions | |
Two-part object construction: | |
AcRules (bool explicitOnly=false) | |
A container of AcRule objects that define the attributes of stream and workspace include and exclude rules. More... | |
async Task< bool > | initAsync (AcStream stream) |
Populate this container with AcRule objects for stream as per constructor parameter explicitOnly. More... | |
async Task< bool > | initAsync (AcDepot depot, IProgress< int > progress=null) |
Populate this container with AcRule objects for all streams in depot as per constructor parameter explicitOnly. More... | |
async Task< bool > | initAsync (StreamsCollection streamsCol, IProgress< int > progress=null) |
Populate this container with AcRule objects for all streams in streamsCol as per constructor parameter explicitOnly. More... | |
async Task< bool > | initAsync (DepotsCollection depotsCol, IProgress< int > progress=null) |
Populate this container with AcRule objects for all streams in depotsCol as per constructor parameter explicitOnly. More... | |
A container of AcRule objects that define the attributes of stream and workspace include and exclude rules.
The lsrules -t
option to display the rules set that existed as of a specified time does not work. AccuRev defect 22659.
The -l <file>
option for mkrules
will crash the server when the file argument contains bad XML. AccuRev defect 26252.
Definition at line 284 of file AcRules.cs.
|
inline |
A container of AcRule objects that define the attributes of stream and workspace include and exclude rules.
explicitOnly | false to include rules inherited from higher-level streams, true to include only rules that were explicitly set for the workspace or stream and not those inherited from higher level streams. |
Definition at line 317 of file AcRules.cs.
|
inline |
Populate this container with AcRule objects for stream as per constructor parameter explicitOnly.
stream | The stream to query for rules. |
AcUtilsException | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on lsrules command failure. |
Exception | caught and logged in same on failure to handle a range of exceptions. |
lsrules -s <stream> [-d] -fx
Definition at line 354 of file AcRules.cs.
Referenced by AcUtils.AcRules.initAsync().
|
inline |
Populate this container with AcRule objects for all streams in depot as per constructor parameter explicitOnly.
depot | All streams in depot to query for rules. |
progress | Optionally report progress back to the caller. |
Exception | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on failure to handle a range of exceptions. |
Definition at line 403 of file AcRules.cs.
|
inline |
Populate this container with AcRule objects for all streams in streamsCol as per constructor parameter explicitOnly.
streamsCol | The list of streams to query for rules. |
progress | Optionally report progress back to the caller. |
Exception | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on failure to handle a range of exceptions. |
Definition at line 444 of file AcRules.cs.
|
inline |
Populate this container with AcRule objects for all streams in depotsCol as per constructor parameter explicitOnly.
depotsCol | The list of depots to query for rules. |
progress | Optionally report progress back to the caller. |
Exception | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on failure to handle a range of exceptions. |
Definition at line 499 of file AcRules.cs.