public abstract class TaskFactory extends NamedObject
Modifier | Constructor and Description |
---|---|
protected |
TaskFactory(Model model,
com.anaplan.client.NamedObject.Data data) |
Modifier and Type | Method and Description |
---|---|
Task |
createTask()
Create a new task on the server.
|
Task |
createTask(TaskParameters taskParameters)
Create a new task on the server.
|
java.util.List<Task> |
getTasks()
Get a list of all server tasks associated with this object.
|
getCode, getId, getName
protected TaskFactory(Model model, com.anaplan.client.NamedObject.Data data)
public Task createTask() throws AnaplanAPIException
AnaplanAPIException
public Task createTask(TaskParameters taskParameters) throws AnaplanAPIException
taskParameters
- the run-time parameters to pass to the taskAnaplanAPIException
public java.util.List<Task> getTasks() throws AnaplanAPIException
AnaplanAPIException