/*
 * Copyright 2019 Netflix, 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.
 */

package com.netflix.spinnaker.orca.clouddriver.tasks.providers.cf;

import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import com.netflix.spinnaker.kork.artifacts.model.Artifact;
import com.netflix.spinnaker.orca.clouddriver.tasks.manifest.ManifestContext;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
import lombok.Builder;
import lombok.Value;

@Builder(builderClassName = "CloudFoundryManifestContextBuilder", toBuilder = true)
@Value
public class CloudFoundryManifestContext implements ManifestContext {
  @Nullable private List<Map<Object, Object>> manifests;

  private Source source;

  private String manifestArtifactId;
  private Artifact manifestArtifact;
  private String manifestArtifactAccount;

  @Builder.Default private List<String> requiredArtifactIds = Collections.emptyList();
  @Builder.Default private List<BindArtifact> requiredArtifacts = Collections.emptyList();

  @Builder.Default private boolean skipExpressionEvaluation = false;

  @Override
  public List<Map<Object, Object>> getManifests() {
    return manifests;
  }

  @JsonPOJOBuilder(withPrefix = "")
  public static class CloudFoundryManifestContextBuilder {}
}

@@ -1,13 +1,14 @@
 /*%0A *
+ 
  Copyrig
@@ -19,15 +19,15 @@
 019 
-Netflix
+Pivotal
 , In
@@ -34,16 +34,17 @@
 c.%0A *%0A *
+ 
  License
@@ -102,16 +102,17 @@
 se%22);%0A *
+ 
  you may
@@ -171,16 +171,17 @@
 ense.%0A *
+ 
  You may
@@ -218,16 +218,18 @@
 at%0A *%0A *
+  
    http:
@@ -271,16 +271,17 @@
 .0%0A *%0A *
+ 
  Unless 
@@ -343,16 +343,17 @@
 tware%0A *
+ 
  distrib
@@ -413,16 +413,17 @@
 ASIS,%0A *
+ 
  WITHOUT
@@ -490,16 +490,17 @@
 lied.%0A *
+ 
  See the
@@ -562,16 +562,17 @@
 s and%0A *
+ 
  limitat

correct the Copyright header (#3315)