Task: Task

TaskR Documentation

Task

Description

Task

Task

Details

An R6 class that represents a Task

Public fields

connect

The Connect instance.

task

The task.

data

The task data.

Methods

Public methods


Method new()

Initialize this task.

Usage
Task$new(connect, task)
Arguments
connect

The Connect instance.

task

The task data.


Method get_connect()

Return the associated Connect instance.

Usage
Task$get_connect()

Method get_task()

Return the underlying task.

Usage
Task$get_task()

Method add_data()

Set the data.

Usage
Task$add_data(data)
Arguments
data

The data.


Method get_data()

Get the data.

Usage
Task$get_data()

Method print()

Print this object.

Usage
Task$print(...)
Arguments
...

Unused.


Method clone()

The objects of this class are cloneable with this method.

Usage
Task$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other R6 classes: Bundle, Content, ContentTask, Environment, PositConnect, Vanity, Variant, VariantSchedule, VariantTask


rstudio/connectapi documentation built on June 12, 2024, 5 a.m.