// Path: core/src/main/java/org/camunda/connect/ConnectorException.java
// public class ConnectorException extends RuntimeException {
// 
//   private static final long serialVersionUID = 1L;
// 
//   public ConnectorException(String message) {
//     super(message);
//   }
// 
//   public ConnectorException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/CloseableConnectorResponse.java
// public interface CloseableConnectorResponse extends ConnectorResponse {
// 
//   public void close();
// 
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/Connector.java
// public interface Connector<Q extends ConnectorRequest<?>> {
// 
//   /**
//    * The unique Id for the connector.
//    *
//    * @return the unique connector id
//    */
//   String getId();
// 
//   /**
//    * Create a request on the connector.
//    *
//    * @return the connector-specific request object.
//    */
//   Q createRequest();
// 
//   /**
//    * Returns the {@link ConnectorRequestInterceptor} chain for this connector.
//    * The implementation will return the actual list, modifications on the list will
//    * be reflected in the internal connector state. This means that you can use the
//    * returned list to modify the connector's {@link ConnectorRequestInterceptor} chain.
//    *
//    * @return the list of interceptors.
//    */
//   List<ConnectorRequestInterceptor> getRequestInterceptors();
// 
//   /**
//    * Sets the {@link ConnectorRequestInterceptor}s of this connector. The interceptors
//    * are invoked for all requests created by the connector.
//    */
//   void setRequestInterceptors(List<ConnectorRequestInterceptor> requestInterceptors);
// 
//   /**
//    * Adds a {@link ConnectorRequestInterceptor} to this connector. The interceptor is added
//    * at the end of the interceptor chain. The interceptor is invoked for all requests
//    * created by the connector.
//    */
//   Connector<Q> addRequestInterceptor(ConnectorRequestInterceptor interceptor);
// 
//   /**
//    * Adds a collection of {@link ConnectorRequestInterceptor} to this connector. The interceptors
//    * are added at the end of the interceptor chain. The interceptor is invoked for all
//    * requests created by the connector.
//    */
//   Connector<Q> addRequestInterceptors(Collection<ConnectorRequestInterceptor> interceptors);
// 
//   /**
//    * Execute the request on the connector.
//    * @param request the request
//    * @return the result.
//    */
//   ConnectorResponse execute(Q request);
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/ConnectorConfigurator.java
// public interface ConnectorConfigurator<C extends Connector<?>> {
// 
//   /**
//    * @return the class of connectors this configurator can configure (including subclasses)
//    */
//   Class<C> getConnectorClass();
// 
//   /**
//    * Configures the connector instance. This method is invoked with
//    * all connectors of the specified class.
//    *
//    * @param connector the connector instance to configure
//    */
//   void configure(C connector);
// 
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/ConnectorProvider.java
// public interface ConnectorProvider {
// 
//   /** Returns the unique id of the connector created by this factory. */
//   String getConnectorId();
// 
//   /** Create a new instance of the connector created by this factory. */
//   Connector<?> createConnectorInstance();
// 
// }


import org.camunda.connect.ConnectorException;
import org.camunda.connect.spi.CloseableConnectorResponse;
import org.camunda.connect.spi.Connector;
import org.camunda.connect.spi.ConnectorConfigurator;
import org.camunda.connect.spi.ConnectorProvider;
/*
 * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
 * under one or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information regarding copyright
 * ownership. Camunda licenses this file to you under the Apache License,
 * Version 2.0; 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 org.camunda.connect.impl;


public class ConnectCoreLogger extends ConnectLogger {

  public void closingResponse(CloseableConnectorResponse response) {
    logDebug("001", "Closing closeable connector response '{}'", response);
  }

// Path: core/src/main/java/org/camunda/connect/ConnectorException.java
// public class ConnectorException extends RuntimeException {
// 
//   private static final long serialVersionUID = 1L;
// 
//   public ConnectorException(String message) {
//     super(message);
//   }
// 
//   public ConnectorException(String message, Throwable cause) {
//     super(message, cause);
//   }
// 
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/CloseableConnectorResponse.java
// public interface CloseableConnectorResponse extends ConnectorResponse {
// 
//   public void close();
// 
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/Connector.java
// public interface Connector<Q extends ConnectorRequest<?>> {
// 
//   /**
//    * The unique Id for the connector.
//    *
//    * @return the unique connector id
//    */
//   String getId();
// 
//   /**
//    * Create a request on the connector.
//    *
//    * @return the connector-specific request object.
//    */
//   Q createRequest();
// 
//   /**
//    * Returns the {@link ConnectorRequestInterceptor} chain for this connector.
//    * The implementation will return the actual list, modifications on the list will
//    * be reflected in the internal connector state. This means that you can use the
//    * returned list to modify the connector's {@link ConnectorRequestInterceptor} chain.
//    *
//    * @return the list of interceptors.
//    */
//   List<ConnectorRequestInterceptor> getRequestInterceptors();
// 
//   /**
//    * Sets the {@link ConnectorRequestInterceptor}s of this connector. The interceptors
//    * are invoked for all requests created by the connector.
//    */
//   void setRequestInterceptors(List<ConnectorRequestInterceptor> requestInterceptors);
// 
//   /**
//    * Adds a {@link ConnectorRequestInterceptor} to this connector. The interceptor is added
//    * at the end of the interceptor chain. The interceptor is invoked for all requests
//    * created by the connector.
//    */
//   Connector<Q> addRequestInterceptor(ConnectorRequestInterceptor interceptor);
// 
//   /**
//    * Adds a collection of {@link ConnectorRequestInterceptor} to this connector. The interceptors
//    * are added at the end of the interceptor chain. The interceptor is invoked for all
//    * requests created by the connector.
//    */
//   Connector<Q> addRequestInterceptors(Collection<ConnectorRequestInterceptor> interceptors);
// 
//   /**
//    * Execute the request on the connector.
//    * @param request the request
//    * @return the result.
//    */
//   ConnectorResponse execute(Q request);
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/ConnectorConfigurator.java
// public interface ConnectorConfigurator<C extends Connector<?>> {
// 
//   /**
//    * @return the class of connectors this configurator can configure (including subclasses)
//    */
//   Class<C> getConnectorClass();
// 
//   /**
//    * Configures the connector instance. This method is invoked with
//    * all connectors of the specified class.
//    *
//    * @param connector the connector instance to configure
//    */
//   void configure(C connector);
// 
// }
// 
// Path: core/src/main/java/org/camunda/connect/spi/ConnectorProvider.java
// public interface ConnectorProvider {
// 
//   /** Returns the unique id of the connector created by this factory. */
//   String getConnectorId();
// 
//   /** Create a new instance of the connector created by this factory. */
//   Connector<?> createConnectorInstance();
// 
// }


// Path: core/src/main/java/org/camunda/connect/impl/ConnectCoreLogger.java
import org.camunda.connect.ConnectorException;
import org.camunda.connect.spi.CloseableConnectorResponse;
import org.camunda.connect.spi.Connector;
import org.camunda.connect.spi.ConnectorConfigurator;
import org.camunda.connect.spi.ConnectorProvider;

/*
 * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
 * under one or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information regarding copyright
 * ownership. Camunda licenses this file to you under the Apache License,
 * Version 2.0; 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 org.camunda.connect.impl;


public class ConnectCoreLogger extends ConnectLogger {

  public void closingResponse(CloseableConnectorResponse response) {
    logDebug("001", "Closing closeable connector response '{}'", response);
  }

  public void successfullyClosedResponse(CloseableConnectorResponse response) {