You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2014/12/09 18:39:38 UTC

svn commit: r1644129 - in /manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces: IPipelineConnections.java IPipelineConnectionsWithVersions.java

Author: kwright
Date: Tue Dec  9 17:39:38 2014
New Revision: 1644129

URL: http://svn.apache.org/r1644129
Log:
Create two new interfaces to cache connection instances.

Added:
    manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java   (with props)
    manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java   (with props)

Added: manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java?rev=1644129&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java (added)
+++ manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java Tue Dec  9 17:39:38 2014
@@ -0,0 +1,54 @@
+/* $Id$ */
+
+/**
+* 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.manifoldcf.agents.interfaces;
+
+/** This interface caches IOutputConnection and ITransformationConnection objects
+* required by an IPipelineSpecification.
+*/
+public interface IPipelineConnections
+{
+  /** Get the underlying IPipelineSpecification object.
+  */
+  public IPipelineSpecification getSpecification();
+  
+  /** Get the transformation connection names mentioned by the IPipelineSpecification
+  * object. */
+  public String[] getTransformationConnectionNames();
+  
+  /** Get the transformation connection instances mentioned by the IPipelineSpecification
+  * object. */
+  public ITransformationConnection[] getTransformationConnections();
+  
+  /** Get the output connection names mentioned by the IPipelineSpecification
+  * object. */
+  public String[] getOutputConnectionNames();
+  
+  /** Get the output connection instances mentioned by the IPipelineSpecification
+  * object. */
+  public IOutputConnection[] getOutputConnections();
+  
+  /** Get the index of the transformation connection corresponding to a
+  * specific pipeline stage. */
+  public Integer getTransformationConnectionIndex(int stage);
+  
+  /** Get the index of the output connection corresponding to a
+  * specific pipeline stage. */
+  public Integer getOutputConnectionIndex(int stage);
+
+}

Propchange: manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnections.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java?rev=1644129&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java (added)
+++ manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java Tue Dec  9 17:39:38 2014
@@ -0,0 +1,27 @@
+/* $Id$ */
+
+/**
+* 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.manifoldcf.agents.interfaces;
+
+public interface IPipelineConnectionsWithVersions extends IPipelineConnections
+{
+  /** Get the underlying pipeline specification with versions object.
+  */
+  public IPipelineSpecificationWithVersions getSpecificationWithVersions();
+
+}

Propchange: manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/branches/CONNECTORS-1118/framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnectionsWithVersions.java
------------------------------------------------------------------------------
    svn:keywords = Id