Package sos.spooler

Examples of sos.spooler.Variable_set.var()


         
    
         
          if(orderData != null && sosString.parseToString(orderData.var("log_file")).length() > 0) {
            setLogFilename(sosString.parseToString(orderData.var("log_file")));
            spooler_log.debug1(".. order parameter [log_file]: " + this.getLogFilename() );
          } else {
            setLogFilename("");
          }
         
View Full Code Here


            sosLogger.debug3(".. calling " + SOSClassUtil.getMethodName());
            parameters = spooler_task.params();
            if (parameters.count() > 0) {
              names = parameters.names().split(";");
              for(int i = 0; i < parameters.count(); i++) {
                if (sosString.parseToString(parameters.var(names[i])).length() > 0) {
                  allParam.put(names[i], parameters.var(names[i]));
                }
              } 
            }
             return allParam;                                                   
View Full Code Here

            parameters = spooler_task.params();
            if (parameters.count() > 0) {
              names = parameters.names().split(";");
              for(int i = 0; i < parameters.count(); i++) {
                if (sosString.parseToString(parameters.var(names[i])).length() > 0) {
                  allParam.put(names[i], parameters.var(names[i]));
                }
              } 
            }
             return allParam;                                                   
             
View Full Code Here

      if (spooler_job.order_queue() != null && spooler_task.order().params() != null)
        params.merge(spooler_task.order().params());

      // mandatory parameters
      name = "file";
      if ( params.var(name)!=null && params.var(name).length()>0 ) {       
        fileName = params.var(name);
       
        // To make orderparams available for substitution in orderparam value
        while (fileName.matches("^.*%[^%]+%.*$")) {
          String p = fileName.replaceFirst("^.*%([^%]+)%.*$", "$1");
View Full Code Here

      if (spooler_job.order_queue() != null && spooler_task.order().params() != null)
        params.merge(spooler_task.order().params());

      // mandatory parameters
      name = "file";
      if ( params.var(name)!=null && params.var(name).length()>0 ) {       
        fileName = params.var(name);
       
        // To make orderparams available for substitution in orderparam value
        while (fileName.matches("^.*%[^%]+%.*$")) {
          String p = fileName.replaceFirst("^.*%([^%]+)%.*$", "$1");
View Full Code Here

        params.merge(spooler_task.order().params());

      // mandatory parameters
      name = "file";
      if ( params.var(name)!=null && params.var(name).length()>0 ) {       
        fileName = params.var(name);
       
        // To make orderparams available for substitution in orderparam value
        while (fileName.matches("^.*%[^%]+%.*$")) {
          String p = fileName.replaceFirst("^.*%([^%]+)%.*$", "$1");
          String s = params.var(p);
View Full Code Here

        fileName = params.var(name);
       
        // To make orderparams available for substitution in orderparam value
        while (fileName.matches("^.*%[^%]+%.*$")) {
          String p = fileName.replaceFirst("^.*%([^%]+)%.*$", "$1");
          String s = params.var(p);
          s = s.replace('\\','/');
          fileName = fileName.replaceAll("%"+p+"%", s);
          getLogger().debug("processing job parameter ["+name+"]: substitute %"+p+"% with "+s);
        }
      }
View Full Code Here

      getLogger().info(".. job parameter ["+name+"]: " + fileName);
     
     
      name = "md5_suffix";
      if ( params.var(name)!=null && params.var(name).length()>0 ){       
        md5Extension = params.var(name);     
        getLogger().info(".. job parameter ["+name+"]: " + md5Extension);
      }
     
      name = "mode";
View Full Code Here

      getLogger().info(".. job parameter ["+name+"]: " + fileName);
     
     
      name = "md5_suffix";
      if ( params.var(name)!=null && params.var(name).length()>0 ){       
        md5Extension = params.var(name);     
        getLogger().info(".. job parameter ["+name+"]: " + md5Extension);
      }
     
      name = "mode";
View Full Code Here

      getLogger().info(".. job parameter ["+name+"]: " + fileName);
     
     
      name = "md5_suffix";
      if ( params.var(name)!=null && params.var(name).length()>0 ){       
        md5Extension = params.var(name);     
        getLogger().info(".. job parameter ["+name+"]: " + md5Extension);
      }
     
      name = "mode";
      if ( params.var(name)!=null && params.var(name).length()>0 ){       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.