Home Manual Reference Source
public class | source

Composite

Represents a composite operation consisting of n Operations.

Member Summary

Public Members
public get
public get
public get

Method Summary

Public Methods
public

Adds the specified operation to this composite.

public
public

Public Members

public get empty: boolean source

Return:

boolean

whether this composite contains operations

public get operations: Operation[] source

Return:

Operation[]

the operations of this composite

public get size: number source

Return:

number

the number of operations

Public Methods

public addOperation(operation: Operation): Composite source

Adds the specified operation to this composite.

Params:

NameTypeAttributeDescription
operation Operation

The operation to add.

Return:

Composite

this composite

public asCli(): string source

Return:

string

the string representation of the operation as used in the CLI

public toString(): string source

Return:

string

a string representation of this composite