Class ConfigRepoMaterial
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<ConfigRepoMaterial>
cd.go.contrib.plugins.configrepo.groovy.dsl.ConfigRepoMaterial
- All Implemented Interfaces:
Configurable
,KeyVal.Mixin
,UtilsMixin
-
Constructor Summary
ConstructorDescriptionConfigRepoMaterial
(Closure<?> cl) ConfigRepoMaterial
(String name, Closure<?> cl) ConfigRepoMaterial
(String name, Consumer<ConfigRepoMaterial> config) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The directory under the sandbox of Go Agent.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) The directory under the sandbox of Go Agent.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
-
ConfigRepoMaterial
public ConfigRepoMaterial() -
ConfigRepoMaterial
-
ConfigRepoMaterial
public ConfigRepoMaterial(String name, @DelegatesTo(value=ConfigRepoMaterial.class,strategy=3) Closure<?> cl) -
ConfigRepoMaterial
-
-
Method Details
-
dup
public ConfigRepoMaterial dup(@DelegatesTo(value=ConfigRepoMaterial.class,strategy=3) Closure<?> config) - Specified by:
dup
in classMaterial<ConfigRepoMaterial>
-
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']
}
-
getDestination
The directory under the sandbox of Go Agent. GoCD will check out the source code into this directory. -
setDestination
The directory under the sandbox of Go Agent. GoCD will check out the source code into this directory. -
equals
- Overrides:
equals
in classMaterial<ConfigRepoMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMaterial<ConfigRepoMaterial>
-
toString
- Overrides:
toString
in classMaterial<ConfigRepoMaterial>
-