Package io.jenkins.plugins.casc.model
Interface CNode
- All Superinterfaces:
Cloneable
A configuration Node in yaml tree.
(We didn't used Node as class name to avoid collision with commonly used Jenkins class hudson.model.Node
- Author:
- Nicolas De Loof
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault Mapping
default Scalar
asScalar()
default Sequence
clone()
Indicate the source (file, line number) this specific configuration node comes from.getType()
default boolean
Indicates if the field should be included when describing even if emptydefault boolean
Deprecated.
-
Method Details
-
getType
CNode.Type getType() -
asMapping
- Throws:
ConfiguratorException
-
asSequence
- Throws:
ConfiguratorException
-
asScalar
- Throws:
ConfiguratorException
-
isSensitiveData
Deprecated.sensitive data are identified based on target attribute being a $Secret
-
isPrintableWhenEmpty
default boolean isPrintableWhenEmpty()Indicates if the field should be included when describing even if empty- Returns:
- false by default
-
getSource
Source getSource()Indicate the source (file, line number) this specific configuration node comes from. This is used to offer relevant diagnostic messages -
clone
CNode clone()
-
Secret