1 17 package org.alfresco.repo.admin.patch; 18 19 import java.util.List ; 20 21 import org.alfresco.service.cmr.admin.PatchException; 22 23 36 public interface Patch 37 { 38 public String getId(); 39 40 public String getDescription(); 41 42 45 public int getFixesFromSchema(); 46 47 50 public int getFixesToSchema(); 51 52 55 public int getTargetSchema(); 56 57 62 public List <Patch> getDependsOn(); 63 64 70 public boolean applies(int version); 71 72 79 public String apply() throws PatchException; 80 } 81 | Popular Tags |