public class OutputFactory extends Object
SelectParam<Path>
factory for outputs.Modifier and Type | Method and Description |
---|---|
static SelectParam<Optional<Path>> |
pathOrDirectory(String[] arguments,
boolean writeIntoRoot)
If the argument is a path to a directory, then this directory is set as the default.
|
public static SelectParam<Optional<Path>> pathOrDirectory(String[] arguments, boolean writeIntoRoot)
Otherwise the argument is treated like a path to BeanXML.
writeIntoRoot
- whether to write directly into an output directory's root (in which case
a directory must be selected).CommandLineException
- if invalid arguments were passed.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.