org.thingsboard.client.model.Job
| Name | Type | Description | Notes |
|---|---|---|---|
| id | JobId | [optional] | |
| createdTime | Long | Entity creation timestamp in milliseconds since Unix epoch | [optional] [readonly] |
| tenantId | TenantId | ||
| type | JobType | ||
| key | String | ||
| entityId | EntityId | ||
| entityName | String | [optional] | |
| status | JobStatus | ||
| _configuration | JobConfiguration | ||
| result | JobResult |
EntityId types (
AdminSettingsId,AiModelId,AlarmId,ApiKeyId,ApiUsageStateId,AssetId,AssetProfileId,CalculatedFieldId,CustomerId,DashboardId,DeviceId,DeviceProfileId,DomainId,EdgeId,EntityViewId,JobId,MobileAppBundleId,MobileAppId,NotificationId,NotificationRequestId,NotificationRuleId,NotificationTargetId,NotificationTemplateId,OAuth2ClientId,OtaPackageId,QueueId,QueueStatsId,RpcId,RuleChainId,RuleNodeId,TbResourceId,TenantId,TenantProfileId,UserId,WidgetTypeId,WidgetsBundleId, etc.):{entityType: EntityType, id: UUID}— all EntityId subtypes share this structure.
DUMMY
QUEUED | PENDING | RUNNING | COMPLETED | FAILED | CANCELLED
| Name | Type | Description | Notes |
|---|---|---|---|
| tasksKey | String | ||
| toReprocess | List | [optional] | |
| type | String |
| Name | Type | Description | Notes |
|---|---|---|---|
| taskProcessingTimeMs | Long | [optional] | |
| successfulTasksCount | Integer | [optional] | |
| failedTasksCount | Integer | [optional] | |
| permanentlyFailedTasksCount | Integer | [optional] | |
| errors | List | [optional] | |
| retries | Integer | [optional] | |
| taskProcessingTimeoutMs | Long | [optional] | |
| generalError | String | [optional] | |
| submittedTasksBeforeGeneralError | Integer | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| successfulCount | Integer | Count of successfully completed tasks | [optional] |
| failedCount | Integer | Count of failed tasks | [optional] |
| discardedCount | Integer | Count of discarded tasks | [optional] |
| totalCount | Integer | Total number of tasks, set when all tasks are submitted | [optional] |
| results | List | [optional] | |
| generalError | String | General error message if the job failed | [optional] |
| startTs | Long | Timestamp of the job start, in milliseconds | [optional] |
| finishTs | Long | Timestamp of the job finish, in milliseconds | [optional] |
| cancellationTs | Long | Timestamp of the job cancellation, in milliseconds | [optional] |
| jobType | String |
See JobResult for properties.
TENANT | CUSTOMER | USER | DASHBOARD | ASSET | DEVICE | ALARM | RULE_CHAIN | RULE_NODE | ENTITY_VIEW | … (36 values total)
| Name | Type | Description | Notes |
|---|---|---|---|
| key | String | [optional] | |
| success | Boolean | [optional] | |
| discarded | Boolean | [optional] | |
| finishTs | Long | [optional] | |
| error | String | [optional] | |
| jobType | String |
- Package:
org.thingsboard.client.model - Getter pattern:
get<PropertyName>()— e.g.,getId(),getName() - Setter pattern:
set<PropertyName>(value)— e.g.,setId(value),setName(value) - Null fields: Getters return
nullfor unset optional fields; they do not throw exceptions