PrerequisiteInterface

UpgradeWizard Prerequisites

Table of Contents

Methods

ensure()  : bool
Ensure this prerequisite is fulfilled
getTitle()  : string
Get speaking name of this prerequisite
isFulfilled()  : bool
Is this prerequisite met?

Methods

ensure()

Ensure this prerequisite is fulfilled

public ensure() : bool

Gets called if "isFulfilled" returns false and should ensure the prerequisite

Returns true on success, false on error

Tags
see
isFulfilled
Return values
bool

getTitle()

Get speaking name of this prerequisite

public getTitle() : string
Return values
string

isFulfilled()

Is this prerequisite met?

public isFulfilled() : bool

Checks whether this prerequisite is fulfilled. If it is not, ensure should be called to fulfill it.

Tags
see
ensure
Return values
bool

        
On this page

Search results