51Degrees Pipeline for Node.js

MissingPropertyService Class Reference

Detailed Description

Base class for a missing property service that throws an error if the property is not available for some reason.

Public Member Functions

 check (key, flowElement)
 Check is called if a property is requested that exists in the FlowElement property list but is not available in the AspectData returned by the FlowElement.
 _isCloudEngine (flowElement)
 Return true if the supplied flow element is a CloudEngine, false if not.

Member Function Documentation

◆ _isCloudEngine()

MissingPropertyService::_isCloudEngine ( flowElement)
inline

Return true if the supplied flow element is a CloudEngine, false if not.

Parameters
{FlowElement}flowElement The flow element to check
Returns
{boolean} Is CloudEngine

◆ check()

MissingPropertyService::check ( key,
flowElement )
inline

Check is called if a property is requested that exists in the FlowElement property list but is not available in the AspectData returned by the FlowElement.

Parameters
{string}key property key
{FlowElement}flowElement flowelement the data was requested in