1 23 package org.enhydra.kelp.common.deployer; 24 25 import org.enhydra.kelp.common.event.WriteListener; 27 import org.enhydra.kelp.common.node.OtterProject; 28 29 import org.enhydra.tool.common.DataValidationException; 31 import org.enhydra.tool.common.ToolException; 32 33 34 public interface DeployStep { 36 public boolean isDataValid(); 37 public boolean isBuilt(OtterProject project); 38 public boolean isSelectable(OtterProject project, DeployStep[] steps); 39 public void validateData() throws DataValidationException; 40 public boolean isDataEqual(OtterProject project); 41 public void build(OtterProject project, WriteListener listener) throws DataValidationException, ToolException; 42 public void read(OtterProject project); 43 public void write(OtterProject project) throws DataValidationException; 44 public void refresh(); 45 public void clearAll(); 46 } 47 | Popular Tags |