NSwarm::TJobTaskState

All possible states a Job or Task can be in

Choose your operating system:

Windows

macOS

Linux

References

Module

SwarmInterface

Header

/Engine/Source/Editor/SwarmInterface/Public/SwarmDefines.h

Include

#include "SwarmDefines.h"

Syntax

namespace NSwarm
{
    enum TJobTaskState
    {
        JOB_STATE_INVALID                  = 0x00000001,
        JOB_STATE_IDLE                     = 0x00000002,
        JOB_STATE_READY                    = 0x00000003,
        JOB_STATE_RUNNING                  = 0x00000004,
        JOB_STATE_COMPLETE_SUCCESS         = 0x00000005,
        JOB_STATE_COMPLETE_FAILURE         = 0x00000006,
        JOB_STATE_KILLED                   = 0x00000007,
        JOB_TASK_STATE_INVALID             = 0x00000011,
        JOB_TASK_STATE_IDLE                = 0x00000012,
        JOB_TASK_STATE_ACCEPTED            = 0x00000013,
        JOB_TASK_STATE_REJECTED            = 0x00000014,
        JOB_TASK_STATE_RUNNING             = 0x00000015,
        JOB_TASK_STATE_COMPLETE_SUCCESS    = 0x00000016,
        JOB_TASK_STATE_COMPLETE_FAILURE    = 0x00000017,
        JOB_TASK_STATE_KILLED              = 0x00000018,
    }
}

Values

Name

Description

JOB_STATE_INVALID

JOB_STATE_IDLE

JOB_STATE_READY

JOB_STATE_RUNNING

JOB_STATE_COMPLETE_SUCCESS

JOB_STATE_COMPLETE_FAILURE

JOB_STATE_KILLED

JOB_TASK_STATE_INVALID

JOB_TASK_STATE_IDLE

JOB_TASK_STATE_ACCEPTED

JOB_TASK_STATE_REJECTED

JOB_TASK_STATE_RUNNING

JOB_TASK_STATE_COMPLETE_SUCCESS

JOB_TASK_STATE_COMPLETE_FAILURE

JOB_TASK_STATE_KILLED

Remarks

All possible states a Job or Task can be in