Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OnmsServerBuilder

A builder for OnmsServer. Create a new one with OnmsServer.newBuilder.

Hierarchy

  • OnmsServerBuilder

Index

Constructors

constructor

Accessors

auth

metadata

name

  • get name(): string

url

  • get url(): string

Methods

build

setAuth

  • The authentication config to use when connecting.

    If undefined is passed, the default authentication settings will be used.

    Parameters

    Returns this

setMetadata

  • The server metadata to associate with the server.

    If undefined is passed, no metadata will be used.

    Parameters

    Returns this

setName

  • setName(name?: string): this
  • The display name of the server.

    If undefined is passed, the name will be unset.

    Parameters

    • Optional name: string

      the server name

    Returns this

setUrl

  • setUrl(url?: string): this
  • The URL of the server.

    If undefined is passed, the URL will be unset.

    Parameters

    • Optional url: string

      the server's URL

    Returns this

Generated using TypeDoc