import {Artifact} from '@serenity-js/core/lib/model'
public class | source

Artifact

Extends:

TinyType → Artifact

Direct Subclasses:

Static Method Summary

Static Public Methods
public static

fromJSON(o: SerialisedArtifact): *

public static

ofType(name: string): ArtifactType | undefined

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

toJSON(): SerialisedArtifact

Static Public Methods

public static fromJSON(o: SerialisedArtifact): * source

Params:

NameTypeAttributeDescription
o SerialisedArtifact

Returns:

*

public static ofType(name: string): ArtifactType | undefined source

Params:

NameTypeAttributeDescription
name string

Returns:

ArtifactType | undefined

Public Constructors

public constructor() source

Public Methods

public toJSON(): SerialisedArtifact source

Returns:

SerialisedArtifact