com.netflix.spinnaker.orca.pipeline.model.Execution.getName()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(141)

本文整理了Java中com.netflix.spinnaker.orca.pipeline.model.Execution.getName()方法的一些代码示例,展示了Execution.getName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Execution.getName()方法的具体详情如下:
包路径:com.netflix.spinnaker.orca.pipeline.model.Execution
类名称:Execution
方法名:getName

Execution.getName介绍

暂无

代码示例

代码示例来源:origin: spinnaker/kayenta

  1. @Override
  2. public boolean shouldProcessExecution(Execution execution) {
  3. return CanaryAnalysisService.CANARY_ANALYSIS_PIPELINE_NAME.equals(execution.getName());
  4. }

代码示例来源:origin: spinnaker/kayenta

  1. @Override
  2. public boolean shouldProcessExecution(Execution execution) {
  3. return ExecutionMapper.PIPELINE_NAME.equals(execution.getName());
  4. }

代码示例来源:origin: com.netflix.kayenta/kayenta-standalone-canary-analysis

  1. @Override
  2. public boolean shouldProcessExecution(Execution execution) {
  3. return CanaryAnalysisService.CANARY_ANALYSIS_PIPELINE_NAME.equals(execution.getName());
  4. }

代码示例来源:origin: com.netflix.kayenta/kayenta-core

  1. @Override
  2. public boolean shouldProcessExecution(Execution execution) {
  3. return ExecutionMapper.PIPELINE_NAME.equals(execution.getName());
  4. }

代码示例来源:origin: com.netflix.spinnaker.orca/orca-redis

  1. map.put("name", execution.getName());
  2. map.put("pipelineConfigId", execution.getPipelineConfigId());
  3. map.put("notifications", mapper.writeValueAsString(execution.getNotifications()));

代码示例来源:origin: com.netflix.spinnaker.orca/orca-clouddriver

  1. value.put("description", execution.getDescription());
  2. } else if (execution.getType() == PIPELINE) {
  3. value.put("description", execution.getName());
  4. value.put("pipelineConfigId", execution.getPipelineConfigId());

代码示例来源:origin: com.netflix.spinnaker.orca/orca-core

  1. @Override public Object get(@Nullable Object key) {
  2. Object value = super.get(key);
  3. if (value != null) {
  4. log.warn(
  5. "Global context key \"{}\" accessed by {} {}[{}] \"{}\"",
  6. key,
  7. execution.getApplication(),
  8. execution.getType(),
  9. execution.getId(),
  10. Optional.ofNullable(execution.getName()).orElseGet(execution::getDescription)
  11. );
  12. Id counterId = registry
  13. .createId("global.context.access")
  14. .withTag("application", execution.getApplication())
  15. .withTag("key", String.valueOf(key));
  16. registry
  17. .counter(counterId)
  18. .increment();
  19. }
  20. return value;
  21. }
  22. }

相关文章