Removed contact application support prints
[simantics/platform.git] / bundles / org.simantics.db.procore / src / fi / vtt / simantics / procore / internal / WriteState.java
1 package fi.vtt.simantics.procore.internal;
2
3 import java.util.concurrent.Semaphore;
4
5 import org.simantics.db.impl.graph.WriteGraphImpl;
6 import org.simantics.db.procedure.Procedure;
7 import org.simantics.db.request.WriteTraits;
8
9 public class WriteState<T> extends WriteStateBase<T> {
10
11         final private WriteGraphImpl graph;
12         
13         public WriteState(WriteGraphImpl graph, WriteTraits request, Semaphore notify, Procedure<T> procedure) {
14             super(request, notify, procedure);
15                 assert(graph != null);
16                 this.graph = graph;
17         }
18         
19         public WriteGraphImpl getGraph() {
20                 return graph;
21         }
22         
23 }