001// Copyright 2004, 2005 The Apache Software Foundation 002// 003// Licensed under the Apache License, Version 2.0 (the "License"); 004// you may not use this file except in compliance with the License. 005// You may obtain a copy of the License at 006// 007// http://www.apache.org/licenses/LICENSE-2.0 008// 009// Unless required by applicable law or agreed to in writing, software 010// distributed under the License is distributed on an "AS IS" BASIS, 011// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 012// See the License for the specific language governing permissions and 013// limitations under the License. 014 015package org.apache.hivemind.lib.pipeline; 016import java.util.List; 017 018import org.apache.hivemind.impl.BaseLocatable; 019/** 020 * Parameter object used with the PipelineFactory. 021 * 022 * @author Howard Lewis Ship 023 */ 024public class PipelineParameters extends BaseLocatable 025{ 026 private Class _filterInterface; 027 private Object _terminator; 028 private List _pipelineConfiguration; 029 030 public Class getFilterInterface() 031 { 032 return _filterInterface; 033 } 034 035 public Object getTerminator() 036 { 037 return _terminator; 038 } 039 040 public void setFilterInterface(Class class1) 041 { 042 _filterInterface = class1; 043 } 044 045 public void setTerminator(Object object) 046 { 047 _terminator = object; 048 } 049 050 public List getPipelineConfiguration() 051 { 052 return _pipelineConfiguration; 053 } 054 055 public void setPipelineConfiguration(List list) 056 { 057 _pipelineConfiguration = list; 058 } 059 060}