Config2_WebAppManager

Web application management interface for the Version 2 API.

Instances of this class are obtained from:

Methods

MethodReturnsDescription
add() Config2_WebApp

Add a new web application

.
get() Config2_WebApp

Get a web application by name

.
remove() void

Remove a web application

.
toArray() Array.<Config2_WebApp>

Get all web applications as array

.

Method Details

add(webAppName, folderPath) → {Config2_WebApp}

Description:
  • Add a new web application

Parameters:
Name Type Description
webAppName String

Web application name

folderPath String

Virtual folder path

Returns:

Created web app object

Type
Config2_WebApp

get(webAppName) → {Config2_WebApp|null}

Description:
  • Get a web application by name

Parameters:
Name Type Description
webAppName String

Web app name

Returns:

Web app object or null if not found

Type
Config2_WebApp | null

remove(webAppName)

Description:
  • Remove a web application

Parameters:
Name Type Description
webAppName String

Web app name to remove

toArray(includeSystem) → {Array.<Config2_WebApp>}

Description:
  • Get all web applications as array

Parameters:
Name Type Description
includeSystem Boolean

Whether to include system web apps

Returns:

Array of all web app objects

Type
Array.<Config2_WebApp>