-
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.
La til hint på opplysningene om hvilken effekt de kan ha på avgjørels…
…en om en periode kan startet eller ikke
- Loading branch information
Showing
3 changed files
with
46 additions
and
34 deletions.
There are no files selected for viewing
13 changes: 7 additions & 6 deletions
13
.../main/kotlin/no/nav/paw/arbeidssokerregisteret/application/authfaktka/AuthOpplysninger.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
11 changes: 11 additions & 0 deletions
11
...gler/src/main/kotlin/no/nav/paw/arbeidssokerregisteret/application/opplysninger/Effect.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,11 @@ | ||
package no.nav.paw.arbeidssokerregisteret.application.opplysninger | ||
|
||
/** | ||
* Enkelt interface for å representere en effekt av en opplysning eller andre ting. | ||
* Feks ved bruk på opplysninger vil 'Negative' indikere at denne opplysningen går i rettning av å ikke kunne starte/stoppes en periode. | ||
*/ | ||
sealed interface Effect { | ||
interface Negative: Effect | ||
interface Positive: Effect | ||
interface Neutral: Effect | ||
} |
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