SAFplus Runtime Director API  3.0.5
aspApp.App Class Reference

An application may consist of a bunch of application files, each corresponding to a different version of the application. More...

Public Member Functions

def __init__
 
def AddAppFile
 Add an application file object to this application. More...
 
def Versions
 Return a list of all versions of this application that I have. More...
 
def Delete
 Remove this application, all running instances, and all archive files. More...
 
def LatestVersion
 Return the application file that contains the latest version. More...
 
def Nodes
 Return the nodes that are currently running this application. More...
 

Public Attributes

 name
 Unique identifier for this object (in this case the name of the application from appcfg.xml) More...
 
 sg
 List of Service Groups that are using this application. More...
 
 appFiles
 List of software bundles that contain versions of this application. More...
 
 version
 Dictionary of available versions (AppFile) indexed by version string. More...
 
 appDb
 Back-pointer to the application database. More...
 

Detailed Description

An application may consist of a bunch of application files, each corresponding to a different version of the application.

Constructor & Destructor Documentation

def aspApp.App.__init__ (   self,
  name,
  appDb 
)

Member Function Documentation

def aspApp.App.AddAppFile (   self,
  af 
)

Add an application file object to this application.

Parameters
afAppFile object
def aspApp.App.Delete (   self)

Remove this application, all running instances, and all archive files.

def aspApp.App.LatestVersion (   self)

Return the application file that contains the latest version.

def aspApp.App.Nodes (   self)

Return the nodes that are currently running this application.

def aspApp.App.Versions (   self)

Return a list of all versions of this application that I have.

Member Data Documentation

aspApp.App.appDb

Back-pointer to the application database.

aspApp.App.appFiles

List of software bundles that contain versions of this application.

aspApp.App.name

Unique identifier for this object (in this case the name of the application from appcfg.xml)

aspApp.App.sg

List of Service Groups that are using this application.

aspApp.App.version

Dictionary of available versions (AppFile) indexed by version string.