Class PluggableMaterial
java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.Node<T>
cd.go.contrib.plugins.configrepo.groovy.dsl.NamedNode<T>
cd.go.contrib.plugins.configrepo.groovy.dsl.Material<PluggableMaterial>
cd.go.contrib.plugins.configrepo.groovy.dsl.PluggableMaterial
- All Implemented Interfaces:
Configurable
,KeyVal.Mixin
,UtilsMixin
-
Constructor Summary
ConstructorDescriptionPluggableMaterial
(Closure<?> cl) PluggableMaterial
(String name, Closure<?> cl) PluggableMaterial
(String name, Consumer<PluggableMaterial> config) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getScm()
int
hashCode()
void
setBlacklist
(List<String> blacklist) /*
* 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.
*/
git {
url = 'https://github.com/gocd/gocd'
blacklist = ['README.md', 'docs/**/*.*']
}
void
setDestination
(String destination) void
void
setWhitelist
(List<String> whitelist) /*
* 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.
*/
git {
url = 'https://github.com/gocd/gocd-plugins'
whitelist = ['src']
}
toString()
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.UtilsMixin
sanitizeName
-
Constructor Details
-
PluggableMaterial
public PluggableMaterial() -
PluggableMaterial
-
PluggableMaterial
public PluggableMaterial(String name, @DelegatesTo(value=PluggableMaterial.class,strategy=3) Closure<?> cl) -
PluggableMaterial
-
-
Method Details
-
dup
public PluggableMaterial dup(@DelegatesTo(value=PluggableMaterial.class,strategy=3) Closure<?> config) - Specified by:
dup
in classMaterial<PluggableMaterial>
-
getBlacklist
-
setBlacklist
/*
* 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.
*/
git {
url = 'https://github.com/gocd/gocd'
blacklist = ['README.md', 'docs/**/*.*']
}
-
getWhitelist
-
setWhitelist
/*
* 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.
*/
git {
url = 'https://github.com/gocd/gocd-plugins'
whitelist = ['src']
}
-
getScm
-
getDestination
-
setScm
-
setDestination
-
equals
- Overrides:
equals
in classMaterial<PluggableMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMaterial<PluggableMaterial>
-
toString
- Overrides:
toString
in classMaterial<PluggableMaterial>
-