C# Class 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
Inheritance: Builder_Source_Folder
Mostrar archivo Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Actionable_Builder_Source_Folder() public method

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
return System

Actionable_Builder_Source_Folder() public method

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
return System

Move_From_Inbound_To_Processing() public method

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
return bool