src/addon/AddOnBase.js
function AddOnBase(logger, gmeConfig) {
        /**
         * @type {GmeConfig}
         */
        this.gmeConfig = gmeConfig;

        /**
         * @type {GmeLogger}
         */
        this.logger = logger;

        // Set at configure
        /**
         * @type {Core}
         */
        this.core = null;

        /**
         * @type {Project}
         */
        this.project = null;

        /**
         * @type {string}
         */
        this.branchName = null;

        /**
         * @type {BlobClient}
         */
        this.blobClient = null;

        this.initialized = false;

        /**
         * @type {AddOnUpdateResult}
         */
        this.updateResult = null;

        this.currentlyWorking = false;
        this.lifespan = 0;

        this.logger.debug('ctor');
    }
function AddOnBase(logger, gmeConfig) {
        /**
         * @type {GmeConfig}
         */
        this.gmeConfig = gmeConfig;

        /**
         * @type {GmeLogger}
         */
        this.logger = logger;

        // Set at configure
        /**
         * @type {Core}
         */
        this.core = null;

        /**
         * @type {Project}
         */
        this.project = null;

        /**
         * @type {string}
         */
        this.branchName = null;

        /**
         * @type {BlobClient}
         */
        this.blobClient = null;

        this.initialized = false;

        /**
         * @type {AddOnUpdateResult}
         */
        this.updateResult = null;

        this.currentlyWorking = false;
        this.lifespan = 0;

        this.logger.debug('ctor');
    }
function AddOnBase ( logger , gmeConfig ) { /**
         * @type {GmeConfig}
         */ this . gmeConfig = gmeConfig ; /**
         * @type {GmeLogger}
         */ this . logger = logger ; // Set at configure /**
         * @type {Core}
         */ this . core = null ; /**
         * @type {Project}
         */ this . project = null ; /**
         * @type {string}
         */ this . branchName = null ; /**
         * @type {BlobClient}
         */ this . blobClient = null ; this . initialized = false ; /**
         * @type {AddOnUpdateResult}
         */ this . updateResult = null ; this . currentlyWorking = false ; this . lifespan = 0 ; this . logger . debug ( 'ctor' ) ; }
BaseClass for AddOns which run on the server and act upon changes in a branch.
Use the AddOnGenerator to generate a new AddOn that implements this class.
@param {GmeLogger} logger
@param {GmeConfig} gmeConfig
@constructor
@alias AddOnBase
BaseClass for AddOns which run on the server and act upon changes in a branch . Use the AddOnGenerator to generate a new AddOn that implements this class .