code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
public Agent deepClone() { return ClonerFactory.instance().deepClone(this); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
deepClone
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public boolean isFromLocalHost() { if (cachedIsFromLocalHost == null) { cachedIsFromLocalHost = isLocalhost(ipaddress); } return cachedIsFromLocalHost; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
isFromLocalHost
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public boolean isElastic() { return elasticAgentId != null && !elasticAgentId.isBlank() && elasticPluginId != null && !elasticPluginId.isBlank(); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
isElastic
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
@Override public String toString() { if (isElastic()) { return format("ElasticAgent [%s, %s, %s, %s, %s]", hostname, ipaddress, uuid, elasticAgentId, elasticPluginId); } else { return format("Agent [%s, %s, %s]", hostname, ipaddress, uuid); } }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
toString
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public AgentIdentifier getAgentIdentifier() { return new AgentIdentifier(this.getHostname(), getIpaddress(), getUuid()); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getAgentIdentifier
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Agent that = (Agent) o; return disabled == that.disabled && Objects.equals(hostname, that.hostname) && Objects.equals(ipa...
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
equals
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
@Override public int hashCode() { return Objects.hash(hostname, ipaddress, uuid, elasticAgentId, elasticPluginId, disabled, environments, resources, cookie); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
hashCode
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getHostname() { return hostname; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getHostname
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setHostname(String hostname) { this.hostname = hostname; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setHostname
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getIpaddress() { return ipaddress; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getIpaddress
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setIpaddress(String ipaddress) { this.ipaddress = ipaddress; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setIpaddress
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getUuid() { return uuid; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getUuid
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setUuid(String uuid) { this.uuid = uuid; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setUuid
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getElasticAgentId() { return elasticAgentId; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getElasticAgentId
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setElasticAgentId(String elasticAgentId) { this.elasticAgentId = elasticAgentId; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setElasticAgentId
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getElasticPluginId() { return elasticPluginId; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getElasticPluginId
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setElasticPluginId(String elasticPluginId) { this.elasticPluginId = elasticPluginId; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setElasticPluginId
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public boolean isDisabled() { return disabled; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
isDisabled
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setDisabled(boolean disabled) { this.disabled = disabled; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setDisabled
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getEnvironments() { return environments; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getEnvironments
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public List<String> getEnvironmentsAsList() { return this.environments == null || this.environments.isBlank() ? new ArrayList<>() : commaSeparatedStrToList(environments); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getEnvironmentsAsList
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setEnvironments(String envs) { this.environments = append(null, commaSeparatedStrToList(envs)); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setEnvironments
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setEnvironmentsFrom(List<String> envList) { this.environments = append(null, envList); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setEnvironmentsFrom
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void addEnvironments(List<String> envsToAdd) { this.environments = append(this.getEnvironments(), envsToAdd); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
addEnvironments
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void addEnvironment(String env) { this.addEnvironments(env == null || env.isBlank() ? null : List.of(env)); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
addEnvironment
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getResources() { return resources; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getResources
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public List<String> getResourcesAsList() { return this.resources == null || this.resources.isBlank() ? new ArrayList<>() : commaSeparatedStrToList(this.resources); }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getResourcesAsList
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getCookie() { return cookie; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getCookie
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setCookie(String cookie) { this.cookie = cookie; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setCookie
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public void setDeleted(boolean deleted) { this.deleted = deleted; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
setDeleted
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public String getHostnameForDisplay() { return this.hostname; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
getHostnameForDisplay
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
public boolean isDeleted() { return deleted; }
<code>Agent</code> is the entity object model class used by Hibernate to represent a record in <code>Agents</code> table. This object model is used to perform crud operations on <code>Agents</code> table. Hence please do not remove the <i>default constructor</i> and do not change anything related to <i>id</i> field as ...
isDeleted
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/Agent.java
Apache-2.0
@Override public void merge(List<PartialConfig> partList, boolean forEdit) { if (partList.isEmpty()) { return; } partList = removePartialsThatDoNotCorrespondToTheCurrentConfigReposList(partList); if (strategy instanceof MergeStrategy) throw new RuntimeExcepti...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
merge
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private List<PartialConfig> removePartialsThatDoNotCorrespondToTheCurrentConfigReposList(List<PartialConfig> partList) { List<Object> notToBeMerged = new ArrayList<>(); for (PartialConfig partialConfig : partList) { if (partialConfig.getOrigin() instanceof RepoConfigOrigin origin) { ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
removePartialsThatDoNotCorrespondToTheCurrentConfigReposList
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private void resetAllPipelineConfigsCache() { allPipelineConfigs = null; pipelineNameToConfigMap = null; allTemplatesWithAssociatedPipelines = null; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
resetAllPipelineConfigsCache
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private void createMergedConfig(BasicCruiseConfig main, List<PartialConfig> partList, boolean forEdit) { this.serverConfig = main.serverConfig; this.packageRepositories = main.packageRepositories; this.scms = main.scms; this.templatesConfig = main.templatesConfig; this.configRepo...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
createMergedConfig
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override @PostConstruct public void initializeServer() { serverConfig.ensureServerIdExists(); serverConfig.ensureAgentAutoregisterKeyExists(); serverConfig.ensureArtifactConfigExists(); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
initializeServer
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public ElasticConfig getElasticConfig() { return elasticConfig; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getElasticConfig
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void setElasticConfig(ElasticConfig elasticConfig) { this.elasticConfig = elasticConfig; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
setElasticConfig
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public ConfigOrigin getOrigin() { return origin; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getOrigin
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void setOrigins(ConfigOrigin origins) { origin = origins; for (EnvironmentConfig env : environments) { env.setOrigins(origins); } for (PipelineConfigs pipes : groups) { pipes.setOrigins(origins); } ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
setOrigins
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public List<PipelineConfig> getAllLocalPipelineConfigs(boolean excludeMembersOfRemoteEnvironments) { return getAllPipelineConfigs(); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getAllLocalPipelineConfigs
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isLocal() { return true; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isLocal
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private EnvironmentsConfig mergeEnvironmentConfigs() { EnvironmentsConfig environments = new EnvironmentsConfig(); //first add environment configs from main List<EnvironmentConfig> allEnvConfigs = new ArrayList<>(BasicCruiseConfig.this.getEnvironments()); // then add fro...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
mergeEnvironmentConfigs
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private SCMs mergeScms() { SCMs scms = new SCMs(); scms.addAll(BasicCruiseConfig.this.scms); for (PartialConfig part : this.parts) { scms.addAll(part.getScms()); } SCMs mergedScms = new SCMs(); for (SCM scm : scms) { ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
mergeScms
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private PipelineGroups mergePipelineConfigs() { PipelineGroups groups = new PipelineGroups(); // first add pipeline configs from main part List<PipelineConfigs> allPipelineConfigs = new ArrayList<>(BasicCruiseConfig.this.getGroups()); // then add from each part ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
mergePipelineConfigs
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public ConfigOrigin getOrigin() { return new MergeConfigOrigin(); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getOrigin
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void setOrigins(ConfigOrigin origins) { throw bomb("Cannot set origins on merged config"); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
setOrigins
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public List<PipelineConfig> getAllLocalPipelineConfigs(boolean excludeMembersOfRemoteEnvironments) { List<PipelineConfig> locals = new ArrayList<>(); PipelineGroups localGroups = BasicCruiseConfig.this.groups.getLocal(); for (PipelineConfigs pipelineConfigs : local...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getAllLocalPipelineConfigs
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isLocal() { return false; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isLocal
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public CruiseConfig cloneForValidation() { Cloner cloner = ClonerFactory.instance(); BasicCruiseConfig configForValidation = cloner.deepClone(BasicCruiseConfig.this); // This needs to be done clear the cached fields else the cloned object will all get them. configForValidat...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
cloneForValidation
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean canViewAndEditTemplates(CaseInsensitiveString username) { return isAdministrator(username.toString()) || getTemplates().canViewAndEditTemplate(username, rolesForUser(username)); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
canViewAndEditTemplates
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isAuthorizedToEditTemplate(CaseInsensitiveString templateName, CaseInsensitiveString username) { if (isAdministrator(username.toString())) { return true; } PipelineTemplateConfig template = getTemplateByName(templateName); return isAuthorizedToEd...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isAuthorizedToEditTemplate
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isAuthorizedToEditTemplate(PipelineTemplateConfig templateConfig, CaseInsensitiveString username) { if (isAdministrator(username.toString())) { return true; } return templateConfig.canBeEditedBy(username, rolesForUser(username)); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isAuthorizedToEditTemplate
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isAuthorizedToViewTemplate(CaseInsensitiveString templateName, CaseInsensitiveString username) { if (isAdministrator(username.toString())) { return true; } PipelineTemplateConfig template = getTemplateByName(templateName); return isAuthorizedToVi...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isAuthorizedToViewTemplate
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isAuthorizedToViewTemplate(PipelineTemplateConfig templateConfig, CaseInsensitiveString username) { if (isAuthorizedToEditTemplate(templateConfig, username)) { return true; } return templateConfig.getAuthorization().isViewUser(username, rolesForUser(usern...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isAuthorizedToViewTemplate
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean isAuthorizedToViewTemplates(CaseInsensitiveString username) { return canViewAndEditTemplates(username) || getTemplates().canUserViewTemplates(username, rolesForUser(username), isGroupAdministrator(username)); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
isAuthorizedToViewTemplates
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private List<Role> rolesForUser(CaseInsensitiveString username) { return server().security().getRoles().memberRoles(new AdminUser(username)); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
rolesForUser
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void validate(ValidationContext validationContext) { areThereCyclicDependencies(); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
validate
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public Hashtable<CaseInsensitiveString, Node> getDependencyTable() { final Hashtable<CaseInsensitiveString, Node> hashtable = new Hashtable<>(); this.accept((PipelineConfigVisitor) pipelineConfig -> hashtable.put(pipelineConfig.name(), pipelineConfig.getDependenciesAsNode())); retu...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getDependencyTable
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean hasPipeline(CaseInsensitiveString key) { return targetTable.containsKey(key); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
hasPipeline
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public Node getDependencyMaterials(CaseInsensitiveString pipeline) { return targetTable.get(pipeline); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getDependencyMaterials
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private void areThereCyclicDependencies() { final DFSCycleDetector dfsCycleDetector = new DFSCycleDetector(); final Hashtable<CaseInsensitiveString, Node> dependencyTable = getDependencyTable(); List<PipelineConfig> pipelineConfigs = this.getAllPipelineConfigs(); DependencyTable pipeline...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
areThereCyclicDependencies
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private void addToErrorsBaseOnMaterialsIfDoesNotExist(String errorMessage, MaterialConfigs materialConfigs, List<PipelineConfig> pipelineConfigs) { for (PipelineConfig config : pipelineConfigs) { if (config.materialConfigs().errors().getAll().contains(errorMessage)) { return; ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
addToErrorsBaseOnMaterialsIfDoesNotExist
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public ConfigErrors errors() { return errors; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
errors
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void addError(String fieldName, String message) { errors.add(fieldName, message); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
addError
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public StageConfig stageConfigByName(final CaseInsensitiveString pipelineName, final CaseInsensitiveString stageName) { StageConfig stageConfig = pipelineConfigByName(pipelineName).findBy(stageName); StageNotFoundException.bombIfNull(stageConfig, pipelineName, stageName); return st...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
stageConfigByName
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public JobConfig findJob(String pipelineName, String stageName, String jobName) { return pipelineConfigByName(new CaseInsensitiveString(pipelineName)) .findBy(new CaseInsensitiveString(stageName)) .jobConfigByConfigName(new CaseInsensitiveString(jobName)); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
findJob
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public PipelineConfig pipelineConfigByName(final CaseInsensitiveString name) { if (pipelineNameToConfigMap == null) { pipelineNameToConfigMap = new PipelineNameToConfigMap(); } if (pipelineNameToConfigMap.containsKey(name)) { return pipelineNameToConfigMap.g...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
pipelineConfigByName
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean hasStageConfigNamed(final CaseInsensitiveString pipelineName, final CaseInsensitiveString stageName, boolean ignoreCase) { PipelineConfig pipelineConfig = getPipelineConfigByName(pipelineName); if (pipelineConfig == null) { return false; } return ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
hasStageConfigNamed
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public PipelineConfig getPipelineConfigByName(CaseInsensitiveString pipelineName) { return pipelinesFromAllGroups().findBy(pipelineName); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getPipelineConfigByName
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean hasPipelineNamed(final CaseInsensitiveString pipelineName) { PipelineConfig pipelineConfig = getPipelineConfigByName(pipelineName); return pipelineConfig != null; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
hasPipelineNamed
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean hasNextStage(final CaseInsensitiveString pipelineName, final CaseInsensitiveString lastStageName) { PipelineConfig pipelineConfig = getPipelineConfigByName(pipelineName); if (pipelineConfig == null) { return false; } return pipelineConfig.nextStag...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
hasNextStage
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean hasPreviousStage(final CaseInsensitiveString pipelineName, final CaseInsensitiveString stageName) { PipelineConfig pipelineConfig = getPipelineConfigByName(pipelineName); if (pipelineConfig == null) { return false; } return pipelineConfig.previous...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
hasPreviousStage
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public StageConfig nextStage(final CaseInsensitiveString pipelineName, final CaseInsensitiveString lastStageName) { StageConfig stageConfig = pipelineConfigByName(pipelineName).nextStage(lastStageName); bombIfNull(stageConfig, () -> "Build stage after '" + lastStageName + "' not found."); ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
nextStage
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public StageConfig previousStage(final CaseInsensitiveString pipelineName, final CaseInsensitiveString lastStageName) { StageConfig stageConfig = pipelineConfigByName(pipelineName).previousStage(lastStageName); bombIfNull(stageConfig, () -> "Build stage after '" + lastStageName + "' not fo...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
previousStage
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public JobConfig jobConfigByName(String pipelineName, String stageName, String jobInstanceName, boolean ignoreCase) { JobConfig jobConfig = stageConfigByName(new CaseInsensitiveString(pipelineName), new CaseInsensitiveString(stageName)).jobConfigByInstanceName(jobInstanceName, igno...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
jobConfigByName
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public ServerConfig server() { return serverConfig; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
server
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public MailHost mailHost() { return serverConfig.mailHost(); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
mailHost
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public EnvironmentsConfig getEnvironments() { return environments; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getEnvironments
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
private PipelineConfigs pipelinesFromAllGroups() { //#2388 - hack to flatten all pipelines. We need a "pipelineGroup" model return new BasicPipelineConfigs(allPipelines().toArray(new PipelineConfig[0])); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
pipelinesFromAllGroups
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public List<PipelineConfig> allPipelines() { List<PipelineConfig> configs = new ArrayList<>(); for (PipelineConfigs group : groups) { for (PipelineConfig pipeline : group) { configs.add(pipeline); } } return configs; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
allPipelines
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public PipelineConfigs pipelines(String groupName) { PipelineGroups pipelineGroups = this.getGroups(); for (PipelineConfigs pipelineGroup : pipelineGroups) { if (pipelineGroup.isNamed(groupName)) { return pipelineGroup; } } throw new ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
pipelines
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean hasBuildPlan(final CaseInsensitiveString pipelineName, final CaseInsensitiveString stageName, String buildName, boolean ignoreCase) { if (!hasStageConfigNamed(pipelineName, stageName, ignoreCase)) { return false; } StageConfig stageConfig = stageConfigByN...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
hasBuildPlan
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public int schemaVersion() { return GoConstants.CONFIG_SCHEMA_VERSION; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
schemaVersion
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public Set<MaterialConfig> getAllUniquePostCommitSchedulableMaterials() { Set<MaterialConfig> materialConfigs = new HashSet<>(); Set<String> uniqueMaterials = new HashSet<>(); for (PipelineConfigs pipelineConfigs : this.groups) { for (PipelineConfig pipelineConfig : pip...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getAllUniquePostCommitSchedulableMaterials
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public ConfigReposConfig getConfigRepos() { return configRepos; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getConfigRepos
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void setConfigRepos(ConfigReposConfig repos) { configRepos = repos; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
setConfigRepos
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public boolean requiresApproval(final CaseInsensitiveString pipelineName, final CaseInsensitiveString stageName) { PipelineConfig pipelineConfig = getPipelineConfigByName(pipelineName); if (pipelineConfig == null) { return false; } final StageConfig stageConfig ...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
requiresApproval
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void accept(JobConfigVisitor visitor) { for (PipelineConfig pipelineConfig : pipelinesFromAllGroups()) { for (StageConfig stageConfig : pipelineConfig) { for (JobConfig jobConfig : stageConfig.allBuildPlans()) { visitor.visit(pipelineConfig, s...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
accept
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void accept(TaskConfigVisitor visitor) { for (PipelineConfig pipelineConfig : pipelinesFromAllGroups()) { for (StageConfig stageConfig : pipelineConfig) { for (JobConfig jobConfig : stageConfig.allBuildPlans()) { for (Task task : jobConfig.tas...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
accept
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void accept(final PipelineConfigVisitor visitor) { accept((PipelineGroupVisitor) group -> group.accept(visitor)); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
accept
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void setGroup(PipelineGroups pipelineGroups) { groups = pipelineGroups; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
setGroup
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public PipelineGroups getGroups() { return groups; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getGroups
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public List<String> getGroupsForUser(CaseInsensitiveString username, List<Role> roles) { List<String> groups = new ArrayList<>(); for (PipelineConfigs group : this.groups) { if (isAdministrator(username.toString()) || group.isUserAnAdmin(username, roles)) { grou...
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getGroupsForUser
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void addPipeline(String groupName, PipelineConfig pipelineConfig) { groups.addPipeline(groupName, pipelineConfig); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
addPipeline
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void deletePipeline(PipelineConfig pipelineConfig) { groups.deletePipeline(pipelineConfig); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
deletePipeline
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void deletePipelineGroup(String groupName) { groups.deleteGroup(groupName); }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
deletePipelineGroup
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public void setSecretConfigs(SecretConfigs secretConfigs) { this.secretConfigs = secretConfigs; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
setSecretConfigs
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0
@Override public SecretConfigs getSecretConfigs() { return secretConfigs; }
Enumeration of classes somewhere within the config hierarchy that should not be cloned
getSecretConfigs
java
gocd/gocd
config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
https://github.com/gocd/gocd/blob/master/config/config-api/src/main/java/com/thoughtworks/go/config/BasicCruiseConfig.java
Apache-2.0