1 37 package net.sourceforge.cruisecontrol.jmx; 38 39 import net.sourceforge.cruisecontrol.CruiseControlException; 40 41 public interface ProjectMBean { 42 43 46 public void pause(); 47 48 51 public void resume(); 52 53 56 public void build(); 57 58 62 public void buildWithTarget(String target); 63 64 67 public void serialize(); 68 69 70 85 90 public boolean isPaused(); 91 92 96 public String getBuildStartTime(); 97 98 104 public void setLabel(String label); 105 106 public String getLabel(); 107 108 114 public void setLabelIncrementer(String classname) throws CruiseControlException; 115 116 119 public String getLabelIncrementer(); 120 121 127 public void setLastBuild(String date) throws CruiseControlException; 128 129 public String getLastBuild(); 130 131 137 public void setLastSuccessfulBuild(String date) throws CruiseControlException; 138 139 public String getLastSuccessfulBuild(); 140 141 146 public void setLogDir(String logdir) throws CruiseControlException; 147 148 public String getLogDir(); 149 150 154 public void setProjectName(String name); 155 156 public String getProjectName(); 157 158 163 public void setBuildInterval(long buildInterval); 164 165 public long getBuildInterval(); 166 167 170 public String getStatus(); 171 } 172 | Popular Tags |