Commits

Jens Reimann  committed 9505f35

initial import of channel

  • Participants
  • Parent commits 4aa3896

Comments (0)

Files changed (11)

File com.ibh.systems.repoman-product/RepoMan.launch

 <booleanAttribute key="tracing" value="false"/>
 <booleanAttribute key="useCustomFeatures" value="false"/>
 <booleanAttribute key="useDefaultConfigArea" value="true"/>
-<stringAttribute key="workspace_bundles" value="com.ibh.systems.repoman.app@default:default,com.ibh.systems.repoman.servlet@default:default,com.ibh.systems.repoman.storage.file@default:default,com.ibh.systems.repoman.storage@default:default"/>
+<stringAttribute key="workspace_bundles" value="com.ibh.systems.repoman.app@default:default,com.ibh.systems.repoman.channel.jpa@default:default,com.ibh.systems.repoman.channel@default:default,com.ibh.systems.repoman.servlet@default:default,com.ibh.systems.repoman.storage.file@default:default,com.ibh.systems.repoman.storage@default:default"/>
 </launchConfiguration>

File com.ibh.systems.repoman.channel/.classpath

+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

File com.ibh.systems.repoman.channel/.gitignore

+/bin

File com.ibh.systems.repoman.channel/.project

+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>com.ibh.systems.repoman.channel</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

File com.ibh.systems.repoman.channel/.settings/org.eclipse.jdt.core.prefs

+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6

File com.ibh.systems.repoman.channel/.settings/org.eclipse.pde.core.prefs

+eclipse.preferences.version=1
+pluginProject.equinox=false
+pluginProject.extensions=false
+resolve.requirebundle=false

File com.ibh.systems.repoman.channel/META-INF/MANIFEST.MF

+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Channel
+Bundle-SymbolicName: com.ibh.systems.repoman.channel
+Bundle-Version: 0.1.0.qualifier
+Bundle-Vendor: IBH SYSTEMS GmbH
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6

File com.ibh.systems.repoman.channel/build.properties

+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .

File com.ibh.systems.repoman.channel/src/com/ibh/systems/repoman/channel/Artifact.java

+package com.ibh.systems.repoman.channel;
+
+public interface Artifact {
+}

File com.ibh.systems.repoman.channel/src/com/ibh/systems/repoman/channel/Channel.java

+package com.ibh.systems.repoman.channel;
+
+import java.io.InputStream;
+import java.util.Collection;
+
+public interface Channel {
+	public String getId ();
+	public Collection<Artifact> getArtifacts();
+	public Artifact storeArtifact ( InputStream stream );
+	public void delete ();
+}

File com.ibh.systems.repoman.channel/src/com/ibh/systems/repoman/channel/ChannelManager.java

+package com.ibh.systems.repoman.channel;
+
+import java.util.Collection;
+
+public interface ChannelManager {
+	public Collection<Channel> getChannels ();
+	public Channel getChannel ( String id );
+	public Channel createChannel (String id);
+}