From 2c79b46e945ddc48b052fbbc0b81a6b2ca8863cc Mon Sep 17 00:00:00 2001 From: David Ells Date: Fri, 1 Apr 2016 12:00:32 -0500 Subject: [PATCH] Add recognition of interaction type long-fill-in --- src/main/java/com/rusticisoftware/tincan/ActivityDefinition.java | 1 + src/main/java/com/rusticisoftware/tincan/InteractionType.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/rusticisoftware/tincan/ActivityDefinition.java b/src/main/java/com/rusticisoftware/tincan/ActivityDefinition.java index 4cec820..b21db12 100644 --- a/src/main/java/com/rusticisoftware/tincan/ActivityDefinition.java +++ b/src/main/java/com/rusticisoftware/tincan/ActivityDefinition.java @@ -227,6 +227,7 @@ public ObjectNode toJSONNode(TCAPIVersion version) { case TRUE_FALSE: case FILL_IN: + case LONG_FILL_IN: case NUMERIC: case OTHER: break; diff --git a/src/main/java/com/rusticisoftware/tincan/InteractionType.java b/src/main/java/com/rusticisoftware/tincan/InteractionType.java index d563506..cd0878a 100644 --- a/src/main/java/com/rusticisoftware/tincan/InteractionType.java +++ b/src/main/java/com/rusticisoftware/tincan/InteractionType.java @@ -28,6 +28,7 @@ public enum InteractionType { PERFORMANCE("performance"), TRUE_FALSE("true-false"), FILL_IN("fill-in"), + LONG_FILL_IN("long-fill-in"), NUMERIC("numeric"), OTHER("other");