From commits-return-66732-archive-asf-public=cust-asf.ponee.io@sling.apache.org Fri Apr 27 11:51:26 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 11E151807BD for ; Fri, 27 Apr 2018 11:51:23 +0200 (CEST) Received: (qmail 62302 invoked by uid 500); 27 Apr 2018 09:51:22 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 61990 invoked by uid 99); 27 Apr 2018 09:51:22 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2018 09:51:22 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 13CFE852A1; Fri, 27 Apr 2018 09:51:21 +0000 (UTC) Date: Fri, 27 Apr 2018 09:51:38 +0000 To: "commits@sling.apache.org" Subject: [sling-org-apache-sling-feature] 18/22: Move FeatureResource to support package. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: davidb@apache.org In-Reply-To: <152482268039.31703.2932656958755458488@gitbox.apache.org> References: <152482268039.31703.2932656958755458488@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: sling-org-apache-sling-feature X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 4baad43875ef90c0a9462c7799bef923c86ac8b9 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180427095121.13CFE852A1@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. davidb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git commit 4baad43875ef90c0a9462c7799bef923c86ac8b9 Author: David Bosschaert AuthorDate: Tue Apr 17 09:45:11 2018 +0300 Move FeatureResource to support package. --- .../org/apache/sling/feature/FeatureResource.java | 50 ---------------------- 1 file changed, 50 deletions(-) diff --git a/src/main/java/org/apache/sling/feature/FeatureResource.java b/src/main/java/org/apache/sling/feature/FeatureResource.java deleted file mode 100644 index 38b0b43..0000000 --- a/src/main/java/org/apache/sling/feature/FeatureResource.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with this - * work for additional information regarding copyright ownership. The ASF - * licenses this file to You 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 org.apache.sling.feature; - -import org.osgi.framework.Version; -import org.osgi.resource.Resource; - -/** - * A Resource that is associated with an Maven Artifact and belongs to a Feature. - */ -public interface FeatureResource extends Resource { - /** - * Obtain the ID of the resource. If the resource is a bundle then this - * is the bundle symbolic name. - * @return The ID of the resource. - */ - String getId(); - - /** - * Obtain the version of the resource. - * @return The version of the resource. - */ - Version getVersion(); - - /** - * Obtain the associated (Maven) Artifact. - * @return The artifact for this Resource. - */ - Artifact getArtifact(); - - /** - * Obtain the feature that contains this resource. - * @return The feature that contains the resource. - */ - Feature getFeature(); -} -- To stop receiving notification emails like this one, please contact davidb@apache.org.