com.weaverplatform.protocol.model.ChangeNodeGraphOperation Maven / Gradle / Ivy
package com.weaverplatform.protocol.model;
public class ChangeNodeGraphOperation extends WriteOperation {
private String oldGraph;
public ChangeNodeGraphOperation(String user, String id, String oldGraph, String newGraph) {
super(user, id);
this.setGraph(newGraph);
this.oldGraph = oldGraph;
}
public String getOldGraph() {
return oldGraph;
}
@Override
public WriteOperationAction getAction() {
return WriteOperationAction.CHANGE_NODE_GRAPH;
}
}