incubator-depot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Chalko <n...@chalko.com>
Subject ASF Sytle Repostirywas: svn commit: rev 10424 - incubator/depot/trunk/update/src/java/org/apache/depot/update/repository
Date Thu, 29 Apr 2004 07:23:34 GMT
Lets flush out this class and have the local repository be a ASF style 
on so we can start giving it some use.
As a reminder the specification is at

http://nagoya.apache.org/wiki/apachewiki.cgi?ASFRepository



nickchalko@apache.org wrote:

>Author: nickchalko
>Date: Thu Apr 29 00:21:26 2004
>New Revision: 10424
>
>Added:
>   incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/ApacheRepository.java
>Log:
>Stub of an Apache style repository.
>
>Added: incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/ApacheRepository.java
>==============================================================================
>--- (empty file)
>+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/ApacheRepository.java
Thu Apr 29 00:21:26 2004
>@@ -0,0 +1,87 @@
>+/*
>+ * Copyright 2004 The Apache Software Foundation
>+ * 
>+ * Licensed 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.depot.update.repository;
>+import java.util.List;
>+import org.apache.depot.update.impl.ResourceUpdaterContext;
>+import org.apache.depot.update.resource.ResourceGroup;
>+import org.apache.depot.update.util.net.VirtualResourceLocator;
>+import org.apache.depot.update.util.select.ISelector;
>+/**
>+ * An apache style repository as decribed in <a
>+ * href="http://nagoya.apache.org/wiki/apachewiki.cgi?ASFRepository">ASF
>+ * Repository Wiki </a>
>+ */
>+public final class ApacheRepository extends AbstractRepository {
>+	/**
>+	 * @param id
>+	 */
>+	public ApacheRepository(String id) {
>+		super(id);
>+		// TODO Auto-generated constructor stub
>+	}
>+	/**
>+	 * @param id
>+	 * @param root
>+	 */
>+	public ApacheRepository(String id, VirtualResourceLocator root) {
>+		super(id, root);
>+		// TODO Auto-generated constructor stub
>+	}
>+	/*
>+	 * (non-Javadoc)
>+	 * 
>+	 * @see org.apache.depot.update.repository.AbstractRepository#folderForGroup(org.apache.depot.update.resource.ResourceGroup)
>+	 */
>+	public VirtualResourceLocator folderForGroup(ResourceGroup group) {
>+		// TODO Auto-generated method stub
>+		return null;
>+	}
>+	/*
>+	 * (non-Javadoc)
>+	 * 
>+	 * @see org.apache.depot.update.repository.IRepository#listGroups(org.apache.depot.update.impl.ResourceUpdaterContext,
>+	 *      org.apache.depot.update.util.select.ISelector)
>+	 */
>+	public List listGroups(ResourceUpdaterContext context, ISelector selector)
>+			throws Exception {
>+		// TODO Auto-generated method stub
>+		return null;
>+	}
>+	/*
>+	 * (non-Javadoc)
>+	 * 
>+	 * @see org.apache.depot.update.repository.IRepository#getManifest(org.apache.depot.update.impl.ResourceUpdaterContext,
>+	 *      org.apache.depot.update.resource.ResourceGroup,
>+	 *      org.apache.depot.update.util.select.ISelector)
>+	 */
>+	public RepositoryManifest getManifest(ResourceUpdaterContext context,
>+			ResourceGroup group, ISelector selector) throws Exception {
>+		// TODO Auto-generated method stub
>+		return null;
>+	}
>+	/*
>+	 * (non-Javadoc)
>+	 * 
>+	 * @see org.apache.depot.update.repository.IRepository#listResources(org.apache.depot.update.impl.ResourceUpdaterContext,
>+	 *      org.apache.depot.update.resource.ResourceGroup,
>+	 *      org.apache.depot.update.util.select.ISelector)
>+	 */
>+	public List listResources(ResourceUpdaterContext context,
>+			ResourceGroup group, ISelector selector) throws Exception {
>+		// TODO Auto-generated method stub
>+		return null;
>+	}
>+}
>\ No newline at end of file
>  
>



Mime
View raw message