1 /* 
2  * Copyright 2005 Paul Hinds
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.tp23.antinstaller.runtime.exe;
17
18import org.tp23.antinstaller.InstallerContext;
19
20
21/**
22 * A filter chain is a series of operations to be run by the ExecInstall class.
23 * This defines the sequence of events in the installer and provides for pluggable
24 * extra sequences for example post installtion messages or running the application.
25 * All FilterChains should end in a FinalizerFilter.
26 * @author Paul Hinds
27 * @version $Id: FilterChain.java,v 1.1.1.1 2005/10/18 18:20:57 teknopaul Exp $
28 */
29public interface FilterChain {
30    public void init(InstallerContext ctx);
31    public ExecuteFilter[] getFilters();
32}
33