-
I wonder if it is possible to implement a CreateNodeOperation Handler for multiple elementIDs? I can see that the AbstractCreateOperationHandler provide such a constructor public abstract class AbstractCreateOperationHandler<T extends CreateOperation> extends AbstractOperationHandler<T>
implements CreateOperationHandler {
protected List<String> handledElementTypeIds;
public AbstractCreateOperationHandler(final String... elementTypeIds) {
this(Lists.newArrayList(elementTypeIds));
}
.... But the As a result I implement now a CreateXXXOperationHandler (extending the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are right, I guess, we could also make the constructor of I suggest to turn this into a GH issue. Feel free to open a PR! Seems like a good idea on the first sight. |
Beta Was this translation helpful? Give feedback.
You are right, I guess, we could also make the constructor of
CreateNodeOperationHandler
take a var arg and pass it to super, to allow forCreateNodeOperationHandler
that can handle multiple element types.I suggest to turn this into a GH issue. Feel free to open a PR! Seems like a good idea on the first sight.