KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > hivemind > lib > pipeline > PipelineParameters


1 // Copyright 2004, 2005 The Apache Software Foundation
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14

15 package org.apache.hivemind.lib.pipeline;
16 import java.util.List JavaDoc;
17
18 import org.apache.hivemind.impl.BaseLocatable;
19 /**
20  * Parameter object used with the PipelineFactory.
21  *
22  * @author Howard Lewis Ship
23  */

24 public class PipelineParameters extends BaseLocatable
25 {
26     private Class JavaDoc _filterInterface;
27     private Object JavaDoc _terminator;
28     private List JavaDoc _pipelineConfiguration;
29
30     public Class JavaDoc getFilterInterface()
31     {
32         return _filterInterface;
33     }
34
35     public Object JavaDoc getTerminator()
36     {
37         return _terminator;
38     }
39
40     public void setFilterInterface(Class JavaDoc class1)
41     {
42         _filterInterface = class1;
43     }
44
45     public void setTerminator(Object JavaDoc object)
46     {
47         _terminator = object;
48     }
49
50     public List JavaDoc getPipelineConfiguration()
51     {
52         return _pipelineConfiguration;
53     }
54
55     public void setPipelineConfiguration(List JavaDoc list)
56     {
57         _pipelineConfiguration = list;
58     }
59
60 }
61
Popular Tags