Files
openide/platform/progress/shared/api-dump.txt
Kate Botsman 35f17aa034 RDCT-1444 Add TaskInfoEntity
This entity is going to represent running progress in Rhizome DB.
The data is mostly copied from `PlatformTaskSupport.ProgressStartedEvent` structure.

Few differences here:
- No `CoroutineContext` in the entity

It's not possible to put the actual coroutine context to `SharedEntity` because it's not serializable.
The context is used mostly for cancellation of a job. The possibility to cancel a job will be provided through a different API.

- New `TaskStatus` field

The status represents the actual status of a task, whether it's running, paused or canceled.

Also:

- Added utils which should make working with `TasksInfoEntity` easier

The utils are queries, which allow avoiding writing the same `asQuery().getOne` in every place where tasks info needs to be retrieved.

- Marked classes used in `TaskInfoEntity` as `@Serializable`

All data used in `SharedEntities` have to be serializable, otherwise it won't be possible to put entity to shared DB

- Add `kotlinx/serialization/KSerializer` to `ideaProjectStructure/exposed-third-party`

With Rhizome `KSerializer` is going to be exposed in more places. Therefore, it makes sense to add this class to default `exposed-third-party-api`, so the tests won't fail because of the added `@Serializable` annotation.

GitOrigin-RevId: 1a1b979b7660d41879a40a4d28b6487b3205e743
2024-09-09 14:33:01 +00:00

34 lines
3.2 KiB
Plaintext

com.intellij.platform.ide.progress.ModalTaskOwner
- s:component(java.awt.Component):com.intellij.platform.ide.progress.ModalTaskOwner
- s:guess():com.intellij.platform.ide.progress.ModalTaskOwner
- s:project(com.intellij.openapi.project.Project):com.intellij.platform.ide.progress.ModalTaskOwner
com.intellij.platform.ide.progress.TaskCancellation
- sf:Companion:com.intellij.platform.ide.progress.TaskCancellation$Companion
- s:cancellable():com.intellij.platform.ide.progress.TaskCancellation$Cancellable
- s:nonCancellable():com.intellij.platform.ide.progress.TaskCancellation$NonCancellable
com.intellij.platform.ide.progress.TaskCancellation$Cancellable
- com.intellij.platform.ide.progress.TaskCancellation
- sf:Companion:com.intellij.platform.ide.progress.TaskCancellation$Cancellable$Companion
- a:withButtonText(java.lang.String):com.intellij.platform.ide.progress.TaskCancellation$Cancellable
- a:withTooltipText(java.lang.String):com.intellij.platform.ide.progress.TaskCancellation$Cancellable
f:com.intellij.platform.ide.progress.TaskCancellation$Cancellable$Companion
- f:serializer():kotlinx.serialization.KSerializer
f:com.intellij.platform.ide.progress.TaskCancellation$Companion
- f:cancellable():com.intellij.platform.ide.progress.TaskCancellation$Cancellable
- f:nonCancellable():com.intellij.platform.ide.progress.TaskCancellation$NonCancellable
- f:serializer():kotlinx.serialization.KSerializer
com.intellij.platform.ide.progress.TaskCancellation$NonCancellable
- com.intellij.platform.ide.progress.TaskCancellation
- sf:Companion:com.intellij.platform.ide.progress.TaskCancellation$NonCancellable$Companion
f:com.intellij.platform.ide.progress.TaskCancellation$NonCancellable$Companion
- f:serializer():kotlinx.serialization.KSerializer
f:com.intellij.platform.ide.progress.TasksKt
- sf:runWithModalProgressBlocking(com.intellij.openapi.project.Project,java.lang.String,kotlin.jvm.functions.Function2):java.lang.Object
- sf:runWithModalProgressBlocking(com.intellij.platform.ide.progress.ModalTaskOwner,java.lang.String,com.intellij.platform.ide.progress.TaskCancellation,kotlin.jvm.functions.Function2):java.lang.Object
- bs:runWithModalProgressBlocking$default(com.intellij.platform.ide.progress.ModalTaskOwner,java.lang.String,com.intellij.platform.ide.progress.TaskCancellation,kotlin.jvm.functions.Function2,I,java.lang.Object):java.lang.Object
- sf:withBackgroundProgress(com.intellij.openapi.project.Project,java.lang.String,com.intellij.platform.ide.progress.TaskCancellation,kotlin.jvm.functions.Function2,kotlin.coroutines.Continuation):java.lang.Object
- sf:withBackgroundProgress(com.intellij.openapi.project.Project,java.lang.String,kotlin.jvm.functions.Function2,kotlin.coroutines.Continuation):java.lang.Object
- sf:withBackgroundProgress(com.intellij.openapi.project.Project,java.lang.String,Z,kotlin.jvm.functions.Function2,kotlin.coroutines.Continuation):java.lang.Object
- sf:withModalProgress(com.intellij.openapi.project.Project,java.lang.String,kotlin.jvm.functions.Function2,kotlin.coroutines.Continuation):java.lang.Object
- sf:withModalProgress(com.intellij.platform.ide.progress.ModalTaskOwner,java.lang.String,com.intellij.platform.ide.progress.TaskCancellation,kotlin.jvm.functions.Function2,kotlin.coroutines.Continuation):java.lang.Object