diff --git a/core/che-core-api-model/src/main/java/org/eclipse/che/api/core/model/factory/ScmInfo.java b/core/che-core-api-model/src/main/java/org/eclipse/che/api/core/model/factory/ScmInfo.java new file mode 100644 index 0000000000..85c2cb9c30 --- /dev/null +++ b/core/che-core-api-model/src/main/java/org/eclipse/che/api/core/model/factory/ScmInfo.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2012-2018 Red Hat, Inc. + * This program and the accompanying materials are made + * available under the terms of the Eclipse Public License 2.0 + * which is available at https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Red Hat, Inc. - initial API and implementation + */ +package org.eclipse.che.api.core.model.factory; + +/** Defines the contract for the SCM information. */ +public interface ScmInfo { + String getScmProviderName(); + + String getRepositoryUrl(); + + String getBranch(); +} diff --git a/wsmaster/che-core-api-factory-bitbucket-server/pom.xml b/wsmaster/che-core-api-factory-bitbucket-server/pom.xml index 9a82347dc0..c21b9cf206 100644 --- a/wsmaster/che-core-api-factory-bitbucket-server/pom.xml +++ b/wsmaster/che-core-api-factory-bitbucket-server/pom.xml @@ -1,7 +1,7 @@