NDEVR
API Documentation
CheckoutCode

Provides static helper methods that create and display build action workflows for common source checkout and generation operations. More...

Static Public Member Functions

static void AddAndShow (BuildActionDefinition &def, QTModelManager *manager, PopupInfo info)
 Adds a build action definition to the model manager and shows its properties dialog.
static void CheckoutAPI (QTModelManager *manager, PopupInfo info)
 Creates and displays a workflow to download the NDEVR API.
static void CheckoutSource (QTModelManager *manager, PopupInfo info)
 Creates and displays a workflow to clone or pull the NDEVR source repository.
static void GenerateOutput (QTModelManager *manager, PopupInfo info)
 Creates and displays a workflow to generate output files.
static void GeneratePKG (QTModelManager *manager, PopupInfo info)
 Creates and displays a workflow to generate an installer package.

Detailed Description

Provides static helper methods that create and display build action workflows for common source checkout and generation operations.

Definition at line 13 of file CheckoutCode.h.

Member Function Documentation

◆ AddAndShow()

void CheckoutCode::AddAndShow ( BuildActionDefinition & def,
QTModelManager * manager,
PopupInfo info )
inlinestatic

Adds a build action definition to the model manager and shows its properties dialog.

Parameters
[in]defThe build action definition to add.
[in]managerThe model manager for data access.
[in]infoPopup info for dialog display.

Definition at line 73 of file CheckoutCode.h.

References QTModelManager::addModel(), PopupInfo::closable, e_no_decoration, e_stop_workflow, DesignObject::get(), guid, ShowPropertiesSettings::popup_origin, BuildActionDefinition::setOnFailureAction(), ShowPropertiesSettings::setupForStyle(), QTModelManager::ShowProperties(), and DesignObjectLookup::writeLock().

Referenced by CheckoutAPI(), CheckoutSource(), GenerateOutput(), and GeneratePKG().

◆ CheckoutAPI()

void CheckoutCode::CheckoutAPI ( QTModelManager * manager,
PopupInfo info )
inlinestatic

Creates and displays a workflow to download the NDEVR API.

Parameters
[in]managerThe model manager for data access.
[in]infoPopup info for dialog display.

Definition at line 42 of file CheckoutCode.h.

References AddAndShow(), e_download_api, name, DesignObject::set(), and BuildActionDefinition::setAction().

◆ CheckoutSource()

void CheckoutCode::CheckoutSource ( QTModelManager * manager,
PopupInfo info )
inlinestatic

Creates and displays a workflow to clone or pull the NDEVR source repository.

Parameters
[in]managerThe model manager for data access.
[in]infoPopup info for dialog display.

Definition at line 19 of file CheckoutCode.h.

References AddAndShow(), Model::createChild(), e_workflow, file, name, DeveloperVariables::ndevr_source_directory, DesignObject::set(), BuildActionDefinition::setAction(), and BuildActionDefinition::setupAsRun().

◆ GenerateOutput()

void CheckoutCode::GenerateOutput ( QTModelManager * manager,
PopupInfo info )
inlinestatic

Creates and displays a workflow to generate output files.

Parameters
[in]managerThe model manager for data access.
[in]infoPopup info for dialog display.

Definition at line 52 of file CheckoutCode.h.

References AddAndShow(), e_generate_out, name, DesignObject::set(), and BuildActionDefinition::setAction().

◆ GeneratePKG()

void CheckoutCode::GeneratePKG ( QTModelManager * manager,
PopupInfo info )
inlinestatic

Creates and displays a workflow to generate an installer package.

Parameters
[in]managerThe model manager for data access.
[in]infoPopup info for dialog display.

Definition at line 62 of file CheckoutCode.h.

References AddAndShow(), e_installer_builder, name, DesignObject::set(), and BuildActionDefinition::setAction().


The documentation for this class was generated from the following file: