@@ -0,0 +1,2018 @@
+/**%0A * Copyright (C) 2009-2014 Dell, Inc.%0A * See annotations for authorship information%0A *%0A * ====================================================================%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * ====================================================================%0A */%0A%0Apackage org.dasein.cloud;%0A%0Aimport javax.annotation.Nonnull;%0A%0A/**%0A * Created by Drew Lyall: 12/09/2014 16:51%0A * @author Drew Lyall%0A * @since 2014.08 - Fork%0A * @version 2014.08 - Fork%0A */%0Apublic class RequestTrackingStrategy%7B%0A%0A    public static @Nonnull RequestTrackingStrategy getInstance(@Nonnull String requestID)%7B%0A        return new RequestTrackingStrategy(requestID);%0A    %7D%0A%0A    private String  requestID;%0A    private boolean sendAsHeader;%0A    private boolean inAPITrace;%0A%0A    private RequestTrackingStrategy()%7B%7D%0A%0A    private RequestTrackingStrategy(@Nonnull String requestID)%7B%0A        this.requestID = requestID;%0A        this.sendAsHeader = false;%0A        this.inAPITrace = false;%0A    %7D%0A%0A    public @Nonnull String getRequestID()%7B%0A        return this.requestID;%0A    %7D%0A%0A    public boolean getSendAsHeader()%7B%0A        return this.sendAsHeader;%0A    %7D%0A%0A    public boolean getInAPITrace()%7B%0A        return this.inAPITrace;%0A    %7D%0A%0A    public @Nonnull RequestTrackingStrategy sendAsHeader(boolean sendAsHeader)%7B%0A        this.sendAsHeader = sendAsHeader;%0A        return this;%0A    %7D%0A%0A    public @Nonnull RequestTrackingStrategy includeInAPITrace(boolean inAPITrace)%7B%0A        this.inAPITrace = inAPITrace;%0A        return this;%0A    %7D%0A%7D%0A

Add TrackingStrategy