Navigation
API > API/Editor > API/Editor/SwarmInterface > API/Editor/SwarmInterface/FJobSpecification
Description
Used to add channel dependencies to a Job. When an Agent runs this Job, it will ensure that all dependencies are satisfied prior to launching the executable. Note that the Job executable is an implied dependency.
| Name | AddDependencies |
| Type | function |
| Header File | /Engine/Source/Editor/SwarmInterface/Public/SwarmInterface.h |
| Include Path | #include "SwarmInterface.h" |
void AddDependencies
(
const TCHAR ** NewRequiredDependencies,
uint32 NewRequiredDependencyCount,
const TCHAR ** NewOptionalDependencies,
uint32 NewOptionalDependencyCount
)
Parameters
| Name | Remarks |
|---|---|
| NewRequiredDependencies | The list of additional required dependent channel names |
| NewRequiredDependencyCount | The number of elements in the NewRequiredDependencies list |
| NewOptionalDependencies | The list of additional optional dependent channel names |
| NewOptionalDependencyCount | The number of elements in the NewOptionalDependencies list |