File

src/app/shared/model/about/runtime-environment-details.model.ts

Description

Provides runtime environment details for either a deployer or task launcher.

Implements

Serializable

Example

Index

Properties
Methods

Methods

Public deserialize
deserialize(input: )
Parameters :
Name Type Optional Description
input
Returns : this

Properties

Public deployerImplementationVersion
deployerImplementationVersion: string
Type : string

The implementation version of this deployer.

Public deployerName
deployerName: string
Type : string

The name of this deployer (could be simple class name).

Public deployerSpiVersion
deployerSpiVersion: string
Type : string

The SPI version used by this deployer.

Public javaVersion
javaVersion: string
Type : string

The Java version used by this deployer.

Public platformApiVersion
platformApiVersion: string
Type : string

The deployment platform API for this deployer.

Public platformClientVersion
platformClientVersion: string
Type : string

The client library version used by this deployer.

Public platformHostVersion
platformHostVersion: string
Type : string

The version running on the host of the platform used by this deployer.

Public platformSpecificInfo
platformSpecificInfo:

Platform specific properties

Public platformType
platformType: string
Type : string

The deployment platform for this deployer.

Public springBootVersion
springBootVersion: string
Type : string

The Spring Boot version used by this deployer.

Public springVersion
springVersion: string
Type : string

The Spring Framework version used by this deployer.

import { Serializable } from '../serialization/serializable.model';
import { ObjectUtils } from '../../support/object.utils';

/**
 * Provides runtime environment details for either a deployer or task launcher.
 *
 * @author Gunnar Hillert
 */
export class RuntimeEnvironmentDetails implements Serializable<RuntimeEnvironmentDetails> {

  /**
   * The implementation version of this deployer.
   */
  public deployerImplementationVersion: string;

  /**
   * The name of this deployer (could be simple class name).
   */
  public deployerName: string;

  /**
   * The SPI version used by this deployer.
   */
  public deployerSpiVersion: string;

  /**
   * The Java version used by this deployer.
   */
  public javaVersion: string;

  /**
   * The deployment platform API for this deployer.
   */
  public platformApiVersion: string;

  /**
   * The client library version used by this deployer.
   */
  public platformClientVersion: string;

  /**
   * The version running on the host of the platform used by this deployer.
   */
  public platformHostVersion: string;

  /**
   * Platform specific properties
   */
  public platformSpecificInfo = new Map<string, string>();

  /**
   * The deployment platform for this deployer.
   */
  public platformType: string;

  /**
   * The Spring Boot version used by this deployer.
   */
  public springBootVersion: string;

  /**
   * The Spring Framework version used by this deployer.
   */
  public springVersion: string;

  public deserialize(input) {
    this.deployerImplementationVersion = input.deployerImplementationVersion;
    this.deployerName = input.deployerName;
    this.deployerSpiVersion = input.deployerSpiVersion;
    this.javaVersion = input.javaVersion;
    this.platformApiVersion = input.platformApiVersion;
    this.platformClientVersion = input.platformClientVersion;
    this.platformHostVersion = input.platformHostVersion;
    this.platformSpecificInfo = ObjectUtils.convertJsonToMap(input.platformSpecificInfo);
    this.platformType = input.platformType;
    this.springBootVersion = input.springBootVersion;
    this.springVersion = input.springVersion;
    return this;
  }
}

results matching ""

    No results matching ""