winccoa-manager
    Preparing search index...

    Interface ServiceOptions

    Options for service hosted in a manager.

    interface ServiceOptions {
        get managerNumber(): number;
        get managerType(): number;
        get replica(): ServiceHostingReplica;
        get serviceHostingType(): ServiceHostingType;
        get serviceNameSuffix(): string;
        set serviceNameSuffix(suffix: string): void;
        withGlobalService(): void;
        withManagerSpecificService(): void;
    }

    Hierarchy (View Summary)

    Index

    Accessors

    • get managerNumber(): number

      The number of the manager which is hosting the service.

      Returns number

      The property is only relevant if the service is manager-specific.

    • get managerType(): number

      The type of the manager which is hosting the service.

      Returns number

      The property is only relevant if the service is manager-specific.

    • get replica(): ServiceHostingReplica

      The replica of the manager which is hosting the service.

      Returns ServiceHostingReplica

      The replica is only relevant for manager-specific services hosted in non-redundant managers in redundant projects.

    • get serviceHostingType(): ServiceHostingType

      The hosting type of the service.

      Returns ServiceHostingType

      Determines how the service is hosted (e.g. global or manager-specific).

    • get serviceNameSuffix(): string

      The suffix appended to the service name.

      Returns string

      The service name suffix is appended to the service base name to create a unique service full name. Default is an empty string.

    • set serviceNameSuffix(suffix: string): void

      Sets the suffix appended to the service name.

      Parameters

      • suffix: string

      Returns void

      The service name suffix is appended to the service base name to create a unique service full name. Default is an empty string.

    Methods

    • Host service as a global service.

      Returns void

    • Host service as manager-specific service.

      Returns void