1
16package org.tp23.antinstaller.runtime;
17
18import java.io.IOException;
19
20import org.tp23.antinstaller.InstallException;
21import org.tp23.antinstaller.InstallerContext;
22import org.tp23.antinstaller.page.Page;
23
24public class AutoTextRunner extends TextRunner {
25
26 public AutoTextRunner(InstallerContext ctx) throws IOException{
27 super(ctx);
28 }
29
30 public boolean runInstaller() throws InstallException {
31 Page[] pages = installer.getPages();
32 for (int i = 0; i < pages.length; i++) {
34 Page page = pages[i];
35 if(page.getPostDisplayTarget() != null) {
36 if( ifHelper.ifProperty(page) &&
37 ifHelper.ifTarget(page, ctx.getInstaller().getPages()) ) { runPost(page);
39 }
40 }
41 }
42
43 return true;
44 }
45}
46