C# Класс SobekCM.Builder_Library.Actionable_Builder_Source_Folder

Builder source folder that adds the ability to perform some basic processing to the base Builder_Source_Folder class
Наследование: Builder_Source_Folder
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Actionable_Builder_Source_Folder ( ) : System

Constructor for a new instance of the Actionable_Builder_Source_Folder class

This extends the core class Builder_Source_Folder and adds some methods to perform work

Actionable_Builder_Source_Folder ( Builder_Source_Folder ExistingBaseInstance, Builder_Modules BuilderModulesConfig ) : System

Constructor for a new instance of the Actionable_Builder_Source_Folder class

This extends the core class Builder_Source_Folder and adds some methods to perform work

Move_From_Inbound_To_Processing ( string &Message ) : bool

Moves all packages from the inbound folder into the processing folder to queue them for loading into the library

Приватные методы

Метод Описание
Collect_Terminal_Dirs ( List DirCollection, string CurrentDir ) : void

Private recursive method used to get the full path of each package's mets files

Get_Terminal_SubDirectories ( string InitialDir ) : IEnumerable

Private method used to find the direct parent directory name for the item packages because the directory structure for the package is pretty flexible, it can be for instance UF00000001_VID00001 or UF00000001/VID00001, or JUV/UFSpecial/UF00000001/VID00001 etc. the searching criterial is that there are only files in the directory but not sub directories

Описание методов

Actionable_Builder_Source_Folder() публичный Метод

Constructor for a new instance of the Actionable_Builder_Source_Folder class
This extends the core class Builder_Source_Folder and adds some methods to perform work
public Actionable_Builder_Source_Folder ( ) : System
Результат System

Actionable_Builder_Source_Folder() публичный Метод

Constructor for a new instance of the Actionable_Builder_Source_Folder class
This extends the core class Builder_Source_Folder and adds some methods to perform work
public Actionable_Builder_Source_Folder ( Builder_Source_Folder ExistingBaseInstance, Builder_Modules BuilderModulesConfig ) : System
ExistingBaseInstance Builder_Source_Folder An existing base instance used to populate this class with data
BuilderModulesConfig SobekCM.Builder_Library.Settings.Builder_Modules Builder module configuration to use to process this incoming folder structure
Результат System

Move_From_Inbound_To_Processing() публичный Метод

Moves all packages from the inbound folder into the processing folder to queue them for loading into the library
public Move_From_Inbound_To_Processing ( string &Message ) : bool
Message string Message to be passed out if something occurred during this attempted move
Результат bool