sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [sling-org-apache-sling-feature] 18/22: Move FeatureResource to support package.
Date Fri, 27 Apr 2018 09:51:38 GMT
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 <david.bosschaert@gmail.com>
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.

Mime
View raw message