Interface IBuildStatus


public interface IBuildStatus
Build status.

Build status is derived from JobState and IJobStatus of master IJob associated with IBuild. Mapping:

 JobState.STATE_UNSCHEDULED -> STATUS_TYPE_WAITING, null message
 JobState.STATE_ACTIVATING -> STATUS_TYPE_WAITING, null message
 JobState.STATE_WAITING -> STATUS_TYPE_WAITING, null message
 JobState.STATE_RUNNING -> STATUS_TYPE_RUNNING, null message
 JobState.STATE_ABORTED -> STATUS_TYPE_ABORTED, message from IJobStatus (including exception)
 JobState.STATE_FINISHED, JobStatusType.STATUS_TYPE_OK -> STATUS_TYPE_OK, message from IJobStatus (including exception)
 JobState.STATE_FINISHED, JobStatusType.STATUS_TYPE_CANCELLED -> STATUS_TYPE_CANCELLED, message from IJobStatus (including exception)
 JobState.STATE_FINISHED, JobStatusType.STATUS_TYPE_FAILED -> STATUS_TYPE_FAILED, message from IJobStatus (including exception)
 - STATUS_TYPE_OK_WITH_FAILURES is STATUS_TYPE_OK if there are errors in the log
 
Author:
Stepan Roh, Polarion Software