struct

AgentZero::DistributedTask

Inherits Struct < Value < Object

Distributed task definition

Constructors

new(name : String, description : String, required_capabilities : Array(String) = [] of String, priority : Int32 = 5, max_agents : Int32 = -1, timeout_seconds : Int32 = 300)
Source

Instance methods

description
Source
description=(description : String)
Source
id=(id : String)
Source
max_agents
Source
max_agents=(max_agents : Int32)
Source
name
Source
name=(name : String)
Source
payload
Source
payload=(payload : Hash(String, JSON::Any))
Source
priority
Source
priority=(priority : Int32)
Source
required_capabilities
Source
required_capabilities=(required_capabilities : Array(String))
Source
timeout_seconds
Source
timeout_seconds=(timeout_seconds : Int32)
Source