Permalink
Browse files

Fix gradle plugin, add command interfaces

  • Loading branch information...
1 parent 93c0cd6 commit 9a73dc145bf898063abb3244cc4c8b3e84c17614 @codestream committed Feb 22, 2014
@@ -0,0 +1,7 @@
+package com.scrumboard.models;
+
+/**
+ * Base scrum stage
+ */
+public abstract class Stage {
+}
@@ -0,0 +1,12 @@
+package com.scrumboard.models.command;
+
+/**
+ * Add task command
+ */
+public interface AddCommand extends Command {
+
+ /**
+ * Adds a new task
+ */
+ void addTask();
+}
@@ -0,0 +1,6 @@
+package com.scrumboard.models.command;
+
+public interface AddTaskAttachmentCommand extends Command {
+
+ void addAttachment();
+}
@@ -0,0 +1,12 @@
+package com.scrumboard.models.command;
+
+/**
+ * Base interface object for command
+ */
+public interface Command {
+
+ /**
+ * Roll back changes
+ */
+ void rollback();
+}
@@ -0,0 +1,12 @@
+package com.scrumboard.models.command;
+
+/**
+ * Delete task command
+ */
+public interface DeleteTaskCommand extends Command {
+
+ /**
+ * Deletes a task
+ */
+ void deleteTask();
+}
@@ -0,0 +1,12 @@
+package com.scrumboard.models.command;
+
+/**
+ * Edit task command
+ */
+public interface EditTaskCommand extends Command {
+
+ /**
+ * Edits task
+ */
+ void editTask();
+}
@@ -0,0 +1,6 @@
+package com.scrumboard.models.command;
+
+public interface EditTaskStageCommand extends Command {
+
+ void editTaskStage();
+}

0 comments on commit 9a73dc1

Please sign in to comment.