Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / mcr-controller / src / edu / tamu / aser / scheduling / events / BlockedForThreadBlockDesc.java
diff --git a/JMCR-Stable/mcr-controller/src/edu/tamu/aser/scheduling/events/BlockedForThreadBlockDesc.java b/JMCR-Stable/mcr-controller/src/edu/tamu/aser/scheduling/events/BlockedForThreadBlockDesc.java
new file mode 100644 (file)
index 0000000..811c5a5
--- /dev/null
@@ -0,0 +1,21 @@
+package edu.tamu.aser.scheduling.events;
+
+public class BlockedForThreadBlockDesc extends EventDesc {
+
+    private Thread thread;
+
+    public BlockedForThreadBlockDesc(Thread thread) {
+        super(EventType.BLOCKED_FOR_THREAD_BLOCK);
+        this.thread = thread;
+    }
+
+    public Thread getThread() {
+        return thread;
+    }
+
+    @Override
+    public String toString() {
+        return "BlockedForThreadBlockDesc [eventType=" + getEventType() + ", thread=" + thread + "]";
+    }
+
+}