public FileWriteCommandTreeNode(FileWriteCommand fileWriteCommand) { super(new FileWriteCommandExecutor(fileWriteCommand)); }
public void execute() { ((FileWriteCommandExecutor)userObject).execute(); if (children != null) { for (Object child:children) { ((FileWriteCommandTreeNode)child).execute(); } } } }
public FileWriteCommandTreeNode(String label) { super(new FileWriteCommandExecutor(label)); }