*
* @param options the parameter set
* @return the built command
*/
static LsTree buildLsTree(ParameterSet options) {
LsTree lsTree = new LsTree();
lsTree.setIncludeTrees(Boolean.valueOf(options.getFirstValue("showTree", "false")));
lsTree.setOnlyTrees(Boolean.valueOf(options.getFirstValue("onlyTree", "false")));
lsTree.setRecursive(Boolean.valueOf(options.getFirstValue("recursive", "false")));
lsTree.setVerbose(Boolean.valueOf(options.getFirstValue("verbose", "false")));
lsTree.setRefList(Arrays.asList(options.getValuesArray("path")));
return lsTree;
}