public class InputOutputContextSubdirectoryCache extends Object
InputOutputContext
for each subdirectory as they are created.
This allows reusage of an existing InputOutputContext
in other outputters without
creating any potential clashes.
TODO is this still needed without manifests?
Constructor and Description |
---|
InputOutputContextSubdirectoryCache(InputOutputContext parentContext,
boolean inheritOutputRulesAndRecording) |
Modifier and Type | Method and Description |
---|---|
InputOutputContext |
get(Optional<String> subdirectoryName)
Gets (from the cache if it's already there) a context for a subdirectory of given-name
|
public InputOutputContextSubdirectoryCache(InputOutputContext parentContext, boolean inheritOutputRulesAndRecording)
public InputOutputContext get(Optional<String> subdirectoryName)
subdirectoryName
- the subdirectory name. if not set, then the parentContext is returned
instead.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.