Package com.yahoo.config
Class OptionalPathNode
- All Implemented Interfaces:
Cloneable
Represents a 'path' in a
ConfigInstance, usually a filename, can be optional- Author:
- hmusum
-
Field Summary
Fields inherited from class com.yahoo.config.LeafNode
initialized, value -
Constructor Summary
ConstructorsConstructorDescriptionOptionalPathNode(FileReference fileReference) OptionalPathNode(Optional<FileReference> fileReference) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoSetValue(String stringVal) getValue()Subclasses must implement this, in compliance with the rules given in the return tag.static Map<String,Optional<FileReference>> static List<Optional<FileReference>>toFileReferences(List<OptionalPathNode> pathNodes) toString()Subclasses must implement this, in compliance with the rules given in the return tag.value()Methods inherited from class com.yahoo.config.Node
postInitialize
-
Constructor Details
-
OptionalPathNode
public OptionalPathNode() -
OptionalPathNode
-
OptionalPathNode
-
-
Method Details
-
value
-
getValue
Description copied from class:LeafNodeSubclasses must implement this, in compliance with the rules given in the return tag. -
toString
Description copied from class:LeafNodeSubclasses must implement this, in compliance with the rules given in the return tag. -
doSetValue
- Specified by:
doSetValuein classLeafNode<Optional<Path>>
-
getFileReference
-
toFileReferences
-
toFileReferenceMap
public static Map<String,Optional<FileReference>> toFileReferenceMap(Map<String, OptionalPathNode> map)
-