Package io.jenkins.plugins.casc.model
Class Mapping
- Author:
- Nicolas De Loof
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> Nested classes/interfaces inherited from interface io.jenkins.plugins.casc.model.CNode
CNode.Type
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
getScalarValue
(String key) Indicate the source (file, line number) this specific configuration node comes from.getType()
void
void
void
void
putIfNotEmpty
(String key, Sequence seq) void
putIfNotNull
(String key, CNode node) void
Methods inherited from class java.util.HashMap
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.casc.model.CNode
asScalar, asSequence, isSensitiveData
-
Field Details
-
EMPTY
-
-
Constructor Details
-
Mapping
public Mapping() -
Mapping
public Mapping(int initialCapacity)
-
-
Method Details
-
getType
-
asMapping
-
put
-
put
-
put
-
putIfNotNull
-
putIfNotEmpty
-
getScalarValue
- Throws:
ConfiguratorException
-
setSource
-
getSource
Description copied from interface:CNode
Indicate the source (file, line number) this specific configuration node comes from. This is used to offer relevant diagnostic messages -
clone
-