Class P4Material
- All Implemented Interfaces:
Configurable
,KeyVal.Mixin
,Notifies.MaterialMixin
,UtilsMixin
/*
* Copyright 2022 Thoughtworks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
pipeline('docs-website') {
materials {
p4 {
url = 'https://p4.example.com/gocd/gocd'
branch = 'develop'
}
}
}
- See Also:
-
- p4 material config. for detailed description of p4 config.
-
Constructor Summary
ConstructorDescriptionP4Material
(Closure<?> cl) P4Material
(String name, Closure<?> cl) P4Material
(String name, Consumer<P4Material> configure) -
Method Summary
Methods inherited from class cd.go.contrib.plugins.configrepo.groovy.dsl.ScmMaterial
getAutoUpdate, getBlacklist, getDestination, getEncryptedPassword, getPassword, getUsername, getWhitelist, setAutoUpdate, setBlacklist, setDestination, setEncryptedPassword, setPassword, setUsername, setWhitelist
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.Configurable
configure
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.KeyVal.Mixin
lookup, lookup
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.Notifies.MaterialMixin
notifiesBitbucketAt, notifiesBitbucketSelfHostedAt, notifiesBy, notifiesGitHubAt, notifiesGitLabAt
Methods inherited from interface cd.go.contrib.plugins.configrepo.groovy.dsl.mixins.UtilsMixin
sanitizeName
-
Constructor Details
-
P4Material
-
P4Material
public P4Material() -
P4Material
-
P4Material
-
-
Method Details
-
dup
- Specified by:
dup
in classMaterial<P4Material>
-
getPort
-
getUseTickets
-
getView
-
setPort
-
setUseTickets
-
setView
-
equals
- Overrides:
equals
in classScmMaterial<P4Material>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classScmMaterial<P4Material>
-
toString
- Overrides:
toString
in classScmMaterial<P4Material>
-