* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
5.9 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Task Cloud Service | v3.1.0 | Experimental | 2019-03-29 |
Task Cloud Service
Manages task cloud.
Class members
Methods
-
canClaimTask(taskDetails:
TaskDetailsCloudModel
):boolean
Validate if a task can be claimed.- taskDetails:
TaskDetailsCloudModel
- task details object - Returns
boolean
- Boolean value if the task can be completed
- taskDetails:
-
canCompleteTask(taskDetails:
TaskDetailsCloudModel
):boolean
Validate if a task can be completed.- taskDetails:
TaskDetailsCloudModel
- task details object - Returns
boolean
- Boolean value if the task can be completed
- taskDetails:
-
canUnclaimTask(taskDetails:
TaskDetailsCloudModel
):boolean
Validate if a task can be unclaimed.- taskDetails:
TaskDetailsCloudModel
- task details object - Returns
boolean
- Boolean value if the task can be completed
- taskDetails:
-
claimTask(appName:
string
, taskId:string
, assignee:string
):Observable
<
TaskDetailsCloudModel
>
Claims a task for an assignee.- appName:
string
- Name of the app - taskId:
string
- ID of the task to claim - assignee:
string
- User to assign the task to - Returns
Observable
<
TaskDetailsCloudModel
>
- Details of the claimed task
- appName:
-
completeTask(appName:
string
, taskId:string
):Observable
<
TaskDetailsCloudModel
>
Complete a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task to complete - Returns
Observable
<
TaskDetailsCloudModel
>
- Details of the task that was completed
- appName:
-
getBasePath(appName:
string
):string
- appName:
string
- - Returns
string
-
- appName:
-
getTaskById(appName:
string
, taskId:string
):Observable
<
TaskDetailsCloudModel
>
Gets details of a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task whose details you want - Returns
Observable
<
TaskDetailsCloudModel
>
- Task details
- appName:
-
isTaskEditable(taskDetails:
TaskDetailsCloudModel
):boolean
Validate if a task is editable.- taskDetails:
TaskDetailsCloudModel
- task details object - Returns
boolean
- Boolean value if the task is editable
- taskDetails:
-
unclaimTask(appName:
string
, taskId:string
):Observable
<
TaskDetailsCloudModel
>
Un-claims a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task to unclaim - Returns
Observable
<
TaskDetailsCloudModel
>
- Details of the task that was unclaimed
- appName:
-
updateTask(appName:
string
, taskId:string
, updatePayload:any
):Observable
<
TaskDetailsCloudModel
>
Updates the details (name, description, due date) for a task.- appName:
string
- Name of the app - taskId:
string
- ID of the task to update - updatePayload:
any
- Data to update the task - Returns
Observable
<
TaskDetailsCloudModel
>
- Updated task details
- appName:
Details
The methods work in much the same way as the equivalent methods in the Tasklist service but they use the cloud variants of the classes for return values. See the Tasklist service page for usage examples.