forked from camunda-community-hub/zeeqs
-
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.
Merge pull request #4 from HMubaireek/feat/filter-instances-by-multip…
…le-variables feat: add filter operation to variables filter
- Loading branch information
Showing
7 changed files
with
66 additions
and
40 deletions.
There are no files selected for viewing
14 changes: 12 additions & 2 deletions
14
data/src/main/kotlin/io/zeebe/zeeqs/data/entity/VariableFilter.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 |
---|---|---|
@@ -1,12 +1,22 @@ | ||
package io.zeebe.zeeqs.data.entity | ||
|
||
enum class EqualityOperation { | ||
enum class ComparisonOperation { | ||
EQUALS, | ||
CONTAINS | ||
} | ||
|
||
enum class FilterOperation { | ||
AND, | ||
OR | ||
} | ||
|
||
class VariableFilter ( | ||
val name: String, | ||
val value: String, | ||
val equalityOperation: EqualityOperation = EqualityOperation.EQUALS | ||
val comparisonOperation: ComparisonOperation = ComparisonOperation.EQUALS | ||
) | ||
|
||
class VariableFilterGroup ( | ||
val variables: List<VariableFilter>, | ||
val filterOperation: FilterOperation = FilterOperation.OR | ||
) |
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
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