this.setActionType(actionType); this.setUrl(url); this.setName(name); this.setHost(host); this.setSubProcess(subProcess);
if (deploymentURL==null) { throw new SmartFrogInitException("Deployment URL: null"); }  String item = null; deploymentURL = deploymentURL.trim(); tempURL = deploymentURL;  if (deploymentURL.length() < 1) throw new SmartFrogInitException("Deployment URL: wrong format");    try { this.setSubProcess(getAndCutLastFieldTempURL (separator)); } catch (Exception ex) { throw new SmartFrogInitException( "Error parsing SUBPROCESS_NAME in: "+ deploymentURL, ex); }   try { this.setHost(getAndCutLastFieldTempURL (separator)); } catch (Exception ex) { throw new SmartFrogInitException("Error parsing HOST in: "+ deploymentURL, ex); }     try {  if (tempURL.trim().endsWith("\"")){ tempURL=tempURL.substring(0,tempURL.lastIndexOf("\"")); this.setDeployReference(getAndCutLastFieldTempURL("\"")); tempURL=tempURL.substring(0,tempURL.lastIndexOf(separator)); } else { this.setDeployReference(getAndCutLastFieldTempURL(separator)); } } catch (Exception ex) { throw new SmartFrogInitException( "Error parsing DEPLOY_REFERENCE in: "+ deploymentURL, ex); }          deploymentURL=tempURL; tempURL=null; try { if (deploymentURL.startsWith("\"")) { setName(deploymentURL.substring(1,deploymentURL.indexOf("\"",1))); tempURL = deploymentURL.substring(deploymentURL.indexOf("\"",1)+2); } else { setName(deploymentURL.substring(0,deploymentURL.indexOf(separator))); tempURL = deploymentURL.substring(deploymentURL.indexOf(separator)+1); }  } catch (Exception ex) { throw new SmartFrogInitException("Error parsing NAME in: "+ deploymentURL, ex); }   try { this.setActionType(tempURL.substring(0,tempURL.indexOf(separator))); tempURL = (tempURL.substring(tempURL.indexOf(":")+1,tempURL.length())); } catch (Exception ex) { throw new SmartFrogInitException( "Error parsing ACTION_TYPE in: "+ deploymentURL, ex); }    try { this.setUrl(tempURL); } catch (Exception ex) { throw new SmartFrogInitException( "Error parsing DEPLOY_REFERENCE in: "+ deploymentURL, ex); }  } catch (Throwable thr){ this.resultException = thr; throw (SmartFrogInitException)SmartFrogInitException.forward(thr); }
    public ConfigurationDescriptor (String name, String url,int actionType,String host, String subProcess)            throws SmartFrogInitException{        this.setActionType(actionType);        this.setUrl(url);        this.setName(name);        this.setHost(host);        this.setSubProcess(subProcess);    }