public class ChangeCollectingVisitor extends ChangeVisitor
ChangeVisitor.StopVisitingException
Constructor and Description |
---|
ChangeCollectingVisitor(java.lang.String path,
java.lang.String projectId,
java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
begin(ChangeSet c) |
void |
end(ChangeSet c) |
java.util.List<ChangeSet> |
getChanges() |
java.lang.String |
getPath() |
void |
visit(CreateEntryChange c) |
void |
visit(DeleteChange c) |
void |
visit(PutLabelChange c) |
void |
visit(StructuralChange c) |
public ChangeCollectingVisitor(java.lang.String path, java.lang.String projectId, java.lang.String pattern)
public java.util.List<ChangeSet> getChanges()
public java.lang.String getPath()
public void begin(ChangeSet c) throws ChangeVisitor.StopVisitingException
begin
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void end(ChangeSet c) throws ChangeVisitor.StopVisitingException
end
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(PutLabelChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(StructuralChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(CreateEntryChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException
public void visit(DeleteChange c) throws ChangeVisitor.StopVisitingException
visit
in class ChangeVisitor
ChangeVisitor.StopVisitingException