File

src/app/jobs/model/step-execution-resource.model.ts

Description

Used to store the Step Execution data for a particular instance.

Example

Index

Properties
Methods

Methods

Static fromJSON
fromJSON(input: )
Parameters :
Name Type Optional Description
input

Properties

Public jobExecutionId
jobExecutionId: string
Type : string
Public stepExecution
stepExecution: StepExecution
Type : StepExecution
Public stepType
stepType: string
Type : string
import { StepExecution } from './step-execution.model';

/**
 * Used to store the Step Execution data for a particular instance.
 *
 * @author Janne Valkealahti
 */
export class StepExecutionResource {

  public jobExecutionId: string;
  public stepExecution: StepExecution;
  public stepType: string;

  static fromJSON(input) {
    const stepExecutionResource = new StepExecutionResource();
    stepExecutionResource.jobExecutionId = input.jobExecutionId;
    stepExecutionResource.jobExecutionId = input.jobExecutionId;
    stepExecutionResource.stepExecution = StepExecution.fromJSON(input.stepExecution);
    stepExecutionResource.stepType = input.stepType;
    return stepExecutionResource;
  }

}

results matching ""

    No results matching ""