1 19 20 package org.apache.tools.ant.module.spi; 21 22 import java.io.File ; 23 24 89 public abstract class AntLogger { 90 91 92 protected AntLogger() {} 93 94 99 public static final String [] NO_TARGETS = {}; 100 101 106 public static final String [] ALL_TARGETS = {}; 107 108 113 public static final String [] NO_TASKS = {}; 114 115 120 public static final String [] ALL_TASKS = {}; 121 122 128 public void buildInitializationFailed(AntEvent event) {} 129 130 135 public void buildStarted(AntEvent event) {} 136 137 143 public void buildFinished(AntEvent event) {} 144 145 153 public void targetStarted(AntEvent event) {} 154 155 162 public void targetFinished(AntEvent event) {} 163 164 173 public void taskStarted(AntEvent event) {} 174 175 183 public void taskFinished(AntEvent event) {} 184 185 191 public void messageLogged(AntEvent event) {} 192 193 198 public boolean interestedInSession(AntSession session) { 199 return false; 200 } 201 202 211 public boolean interestedInAllScripts(AntSession session) { 212 return false; 213 } 214 215 228 public boolean interestedInScript(File script, AntSession session) { 229 return false; 230 } 231 232 244 public String [] interestedInTargets(AntSession session) { 245 return NO_TARGETS; 246 } 247 248 260 public String [] interestedInTasks(AntSession session) { 261 return NO_TASKS; 262 } 263 264 272 public int[] interestedInLogLevels(AntSession session) { 273 return new int[0]; 274 } 275 276 } 277 | Popular Tags |