IPM
Definition Class Reference
Inheritance diagram for Definition:
Inheritance graph

Public Member Functions

_.Library.Status OnBeforeSave (_.Library.Boolean insert)
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
 Display ()
 Outputs information about this server to the current device. More...
 
_.IPM.Repo.IPackageService GetPackageService ()
 Returns a REST client to interact with this server.
 
_.IPM.Repo.IPublishService GetPublishService ()
 Returns a REST client to publish modules/applications to this server.
 

Static Public Member Functions

_.Library.Status OnConfigure (_.IPM.Repo.Definition pInstance, _.Library.Boolean pInteractive, pModifiers, pData)
 Handles modifiers/data attributes provided from the package manager shell.
 
- Static Public Member Functions inherited from Definition
_.Library.Status Configure (_.Library.Boolean pInteractive, pModifiers, pData, _.Dictionary.Classname pExpectedType)
 Called from package manager shell to create or update an instance of this class. More...
 
_.Library.Status OnConfigure (_.IPM.Repo.Definition pInstance, _.Library.Boolean pInteractive, pModifiers, pData)
 Subclasses must override. More...
 

Public Attributes

 DeploymentEnabled
   More...
 
 Details
   More...
 
 Password
   More...
 
 Token
   More...
 
 URL
   More...
 
 Username
   More...
 
- Public Attributes inherited from Definition
 Details
   More...
 
 Enabled
   More...
 
 Name
   More...
 
 Prereleases
   More...
 
 ReadOnly
 Boolean flag indicating that modules installed from this repository. More...
 
 Snapshots
   More...
 

Private Member Functions

_.Library.Integer __GetSortOrder ()
 Subclasses must override. More...
 

Additional Inherited Members

- Static Public Attributes inherited from Definition
 DISPLAYNAME = None
 Display name for this type of repository, shown in the UI and package manager shell.
 
 MONIKER = None
 Short/logical name for this type of repository, used in the package manager shell as an alternative to the full class name.
 
- Static Public Attributes inherited from Commands
 CommandsAccessorIncludeFilename = None
 Name of include file that will contain accessor macros for modifiers. More...
 

Member Function Documentation

◆ OnBeforeSave()

_.Library.Status OnBeforeSave ( _.Library.Boolean  insert)

This callback method is invoked by the <METHOD>Save</METHOD> method to.

provide notification that the object is being saved. It is called before any data is written to disk.

insert will be set to 1 if this object is being saved for the first time.

If this method returns an error then the call to <METHOD>Save</METHOD> will fail.

◆ OnValidateObject()

_.Library.Status OnValidateObject ( )

This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to.

provide notification that the current object is being validated.

If this method returns an error then <METHOD>ValidateObject</METHOD> will fail.

◆ Display()

Display ( )

Outputs information about this server to the current device.

Subclasses may override to show additional information.

Reimplemented from Definition.

◆ __GetSortOrder()

_.Library.Integer __GetSortOrder ( )
private

Subclasses must override.

Orders repositories by type and possibly other factors.

Reimplemented from Definition.

Member Data Documentation

◆ DeploymentEnabled

DeploymentEnabled

 

 

◆ Details

Details

 

 

◆ Password

Password

 

 

◆ Token

Token

 

 

◆ URL

URL

 

 

◆ Username

Username