returned expose annotations

This commit is contained in:
Ekaterina Tuzova
2015-02-16 16:28:47 +03:00
parent 204c87748c
commit 80381a8f5c
2 changed files with 6 additions and 2 deletions
@@ -1,6 +1,7 @@
package com.jetbrains.edu.courseFormat;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.xmlb.annotations.Transient;
@@ -18,6 +19,8 @@ public class Task {
@Expose
private String name;
private int myIndex;
@Expose
@SerializedName("task_files")
public Map<String, TaskFile> taskFiles = new HashMap<String, TaskFile>();
private String text;
@@ -1,5 +1,6 @@
package com.jetbrains.edu.courseFormat;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.LogicalPosition;
@@ -17,11 +18,11 @@ import java.util.List;
*/
public class TaskFile {
@SerializedName("placeholders")
@SerializedName("task_windows")
@Expose
private List<AnswerPlaceholder> myAnswerPlaceholders = new ArrayList<AnswerPlaceholder>();
private int myIndex = -1;
public String name;
public String text;
@Transient private Task myTask;