1 37 package net.sourceforge.cruisecontrol.listeners; 38 39 import org.apache.log4j.Logger; 40 import net.sourceforge.cruisecontrol.util.ValidationHelper; 41 import net.sourceforge.cruisecontrol.CruiseControlException; 42 43 54 public class ListenerTestNestedPlugin { 55 private static final Logger LOG = Logger.getLogger(ListenerTestNestedPlugin.class); 56 57 private String string; 58 private String otherString; 59 60 public void validate() throws CruiseControlException { 61 LOG.debug("validate()"); 62 ValidationHelper.assertIsSet(string, "string", this.getClass()); 63 } 64 65 public String getString() { 66 return string; 67 } 68 69 public void setString(String string) { 70 this.string = string; 71 } 72 73 public String getOtherString() { 74 return otherString; 75 } 76 77 public void setOtherString(String otherString) { 78 this.otherString = otherString; 79 } 80 } 81 | Popular Tags |