Context (Execution)
Learn how to access various runtime context information.
Methods
static getIteration(): Long
static getIteration(): LongContext.getIteration(); // returns iteration numberstatic getNodeId(): String
static getNodeId(): StringContext.NodeId(); // returns ID of current nodestatic getStartedBy(): JsonNode
static getStartedBy(): JsonNodeContext.getStartedBy(); // returns JSON objectstatic getCreatedBy(): JsonNode
static getCreatedBy(): JsonNodeContext.getCreatedBy(); // returns JSON objectstatic environment(): String
static environment(): Stringstatic isProd(): Boolean
static isProd(): Booleanstatic isDev(): Boolean
static isDev(): Booleanstatic configs(): JsonNode
static configs(): JsonNodestatic stats(): JsonNode
static stats(): JsonNodestatic getExecutionId(): String
static getExecutionId(): Stringstatic getName(): String
static getName(): Stringstatic sleep(Long: millis): void (Experimental)
static sleep(Long: millis): void (Experimental)