-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pattern): ✨ Persist spoon pattern results and expose them in the…
… API (#725)
- Loading branch information
1 parent
d39076d
commit 74feb39
Showing
8 changed files
with
60 additions
and
22 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
4 changes: 2 additions & 2 deletions
4
...ot/src/main/java/io/github/martinwitt/laughing_train/data/SpoonPatternAnalyzerResult.java
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package io.github.martinwitt.laughing_train.data; | ||
|
||
import io.github.martinwitt.laughing_train.domain.entity.AnalyzerResult; | ||
import java.io.Serializable; | ||
import java.util.List; | ||
import xyz.keksdose.spoon.code_solver.analyzer.spoon.SpoonAnalyzerResult; | ||
|
||
public sealed interface SpoonPatternAnalyzerResult extends Serializable { | ||
record Success(List<AnalyzerResult> result, Project project) implements SpoonPatternAnalyzerResult {} | ||
record Success(List<SpoonAnalyzerResult> result, Project project) implements SpoonPatternAnalyzerResult {} | ||
|
||
record Failure(String message) implements SpoonPatternAnalyzerResult {} | ||
} |
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
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