generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML4SE-234] process new Scenario Units
- Loading branch information
mikrise2
committed
Nov 16, 2023
1 parent
4137970
commit cf6bdaa
Showing
6 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...src/main/kotlin/org/jetbrains/research/tasktracker/config/scenario/models/ScenarioUnit.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.jetbrains.research.tasktracker.config.scenario.models | ||
|
||
import kotlinx.serialization.Serializable | ||
import org.jetbrains.research.tasktracker.config.ide.MainIdeConfig | ||
import org.jetbrains.research.tasktracker.config.survey.SurveyConfig | ||
|
||
@Serializable | ||
sealed interface ScenarioUnit | ||
|
||
@Serializable | ||
class TaskListUnit(val tasks: List<Int>) : ScenarioUnit | ||
|
||
@Serializable | ||
class TaskUnit(val id: Int) : ScenarioUnit | ||
|
||
@Serializable | ||
class IdeSettingUnit(val mainIdeConfig: MainIdeConfig) : ScenarioUnit | ||
|
||
@Serializable | ||
class SurveyUnit(val surveyConfig: SurveyConfig) : ScenarioUnit | ||
|
||
@Serializable | ||
class ExternalSourceUnit(val url: String) : ScenarioUnit |
22 changes: 0 additions & 22 deletions
22
...in/src/main/kotlin/org/jetbrains/research/tasktracker/handler/scenario/ScenarioHandler.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters