Interface KeyVal.Mixin
- All Known Subinterfaces:
ConnectionConfig
- All Known Implementing Classes:
AbstractArtifact
,AbstractBuiltInArtifact
,AbstractFetchArtifactTask
,Approval
,Artifacts
,Attributes.BitbucketPR
,Attributes.BitbucketSelfHostedPR
,Attributes.GitBranch
,Attributes.GitHubPR
,Attributes.GitLabMR
,Basic.Git
,Bitbucket
,BitbucketSelfHosted
,BranchedWorkflows
,BranchMatcher
,BuildArtifact
,CollectionNode
,ConfigRepoMaterial
,Configuration
,DependencyMaterial
,Environment
,Environments
,ExecTask
,FetchArtifactTask
,FetchExternalArtifactTask
,GitHub
,GitHubPRMaterial
,GitLab
,GitMaterial
,GoCD
,HasEnvironmentVariables
,HgMaterial
,Job
,Jobs
,Material
,Materials
,NamedNode
,Node
,P4Material
,PackageMaterial
,Pipeline
,Pipelines
,PluggableMaterial
,PluginArtifact
,PluginTask
,Properties
,Property
,ScmMaterial
,ShellTask
,Stage
,Stages
,SvnMaterial
,Tab
,Tabs
,Task
,Tasks
,TestArtifact
,TfsMaterial
,Timer
,TrackingTool
- Enclosing class:
- KeyVal
public static interface KeyVal.Mixin
-
Method Details
-
lookup
Allows ConfigRepo Configuration Property lookup by key from within a Groovy config definition script- Parameters:
key
- the Configuration Property name- Returns:
- the value of the Configuration Property
- Throws:
NoSuchElementException
- if property is not found
-
lookup
Allows ConfigRepo Configuration Property lookup by key from within a Groovy config definition script- Parameters:
key
- the Configuration Property namedefaultValue
- the fallback value- Returns:
- the value of the Configuration Property or the provided default when the property is not found
-