-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8528a45
commit 92309d9
Showing
7 changed files
with
22 additions
and
60 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
src/main/java/org/hisp/dhis/rules/models/RuleActionCreateEvent.java
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
src/main/java/org/hisp/dhis/rules/models/RuleActionCreateEvent.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 org.hisp.dhis.rules.models | ||
|
||
data class RuleActionCreateEvent( | ||
val programStage: String, | ||
val content: String = "", | ||
val data: String = "" | ||
) : RuleAction { | ||
override fun data(): String { | ||
return data | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
src/main/java/org/hisp/dhis/rules/models/RuleActionError.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.hisp.dhis.rules.models | ||
|
||
data class RuleActionError(val data: String) : RuleAction { | ||
override fun data(): String { | ||
return data | ||
} | ||
} |
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
28 changes: 0 additions & 28 deletions
28
src/test/java/org/hisp/dhis/rules/models/RuleActionCreateEventTest.java
This file was deleted.
Oops, something went wrong.