51Degrees Pipeline for Java

fiftyone.pipeline.engines.services.MissingPropertyResult Class Reference

Detailed Description

Encapsulates the reason and explanation of why a property was missing from a set of results.

Public Member Functions

 MissingPropertyResult (final MissingPropertyReason reason, final String description)
 Construct a new instance of MissingPropertyResult.
MissingPropertyReason getReason ()
 Get the reason the property was missing.
String getDescription ()
 Get the full explanation to why the property was missing.

Constructor & Destructor Documentation

◆ MissingPropertyResult()

fiftyone.pipeline.engines.services.MissingPropertyResult.MissingPropertyResult ( final MissingPropertyReason reason,
final String description )

Construct a new instance of MissingPropertyResult.

Parameters
reasonreason for the missing property
descriptionexplanation for the missing property

Member Function Documentation

◆ getDescription()

String fiftyone.pipeline.engines.services.MissingPropertyResult.getDescription ( )

Get the full explanation to why the property was missing.

Returns
message to user

◆ getReason()

MissingPropertyReason fiftyone.pipeline.engines.services.MissingPropertyResult.getReason ( )

Get the reason the property was missing.

Returns
MissingPropertyReason enum value