-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feat: Event valueType * Update sample * Get valueType from context --------- Co-authored-by: Christophe Carvalho Vilas-Boas <[email protected]>
- Loading branch information
1 parent
bd3073a
commit f3de736
Showing
4 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
Annotations/src/main/java/com/christophecvb/touchportal/annotations/ValueType.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.christophecvb.touchportal.annotations; | ||
|
||
public enum ValueType { | ||
TEXT("text"), | ||
CHOICE("choice") | ||
; | ||
|
||
private final String key; | ||
|
||
ValueType(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getKey() { | ||
return this.key; | ||
} | ||
} |
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