Skip to main content
Namespace: Phoenix.ComponentAPI
Assembly: Phoenix.ComponentAPI.dll

IsValidStatus(RunStatus)

Given a status, check if it is a valid status for a component run result. The valid statuses are those that indicate that the run is complete - Phoenix.ComponentAPI.RunStatus.SUCCESS, Phoenix.ComponentAPI.RunStatus.FAILED, Phoenix.ComponentAPI.RunStatus.CANCELED.

Parameters

candidate RunStatus The candidate status.

Returns

bool True if the status is valid for a component run result, false otherwise.