1 13 package org.ejbca.ui.web.admin.services.servicetypes; 14 15 import java.io.IOException ; 16 import java.util.ArrayList ; 17 import java.util.Collection ; 18 import java.util.Properties ; 19 20 25 public class CRLUpdateWorkerType extends WorkerType { 26 27 28 public static final String NAME = "CRLUPDATEWORKER"; 29 30 private Collection compatibleActionTypeNames = new ArrayList (); 31 private Collection compatibleIntervalTypeNames = new ArrayList (); 32 33 private transient Properties properties = new Properties (); 34 35 public CRLUpdateWorkerType() { 36 super("crlupdateworker.jsp", NAME, true); 37 38 compatibleActionTypeNames.add(NoActionType.NAME); 39 40 compatibleIntervalTypeNames.add(PeriodicalIntervalType.NAME); 41 } 42 43 46 public Collection getCompatibleActionTypeNames() { 47 return compatibleActionTypeNames; 48 } 49 50 53 public Collection getCompatibleIntervalTypeNames() { 54 return compatibleIntervalTypeNames; 55 } 56 57 61 public String getClassPath() { 62 return "org.ejbca.core.model.services.workers.CRLUpdateWorker"; 63 } 64 65 68 public Properties getProperties(ArrayList errorMessages) throws IOException { 69 return properties; 70 } 71 72 75 public boolean isCustom() { 76 return false; 77 } 78 79 82 public void setProperties(Properties properties) throws IOException { 83 this.properties = properties; 84 } 85 86 } 87 | Popular Tags |