Skip to content
Snippets Groups Projects
Commit ebd3370c authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

Factory actually produces something

parent c6d4092f
No related branches found
No related tags found
No related merge requests found
......@@ -37,4 +37,12 @@ protected void walkAggregation(final ObjectType aggregation,
stack.pop();
}
protected Aggregation getRoot() {
return root;
}
public static Aggregation create(final ObjectType root) {
return new AggregationTreeFactory(root).getRoot();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment