Package sos.spooler

Examples of sos.spooler.Variable_set.var()


          expPeriod=parameters.var("scheduler_event_expiration_period");
          spooler_log.debug1("...parameter[scheduler_event_expiration_period]: "+expPeriod);
          parameterNames.add("scheduler_event_expiration_period");
        }
       
        if (parameters.var("scheduler_event_handler_host")!=null && parameters.var("scheduler_event_handler_host").length()>0){
          eventHandlerHost=parameters.var("scheduler_event_handler_host");
          spooler_log.debug1("...parameter[scheduler_event_handler_host]: "+eventHandlerHost);
          parameterNames.add("scheduler_event_handler_host");
        }
       
View Full Code Here


          spooler_log.debug1("...parameter[scheduler_event_expiration_period]: "+expPeriod);
          parameterNames.add("scheduler_event_expiration_period");
        }
       
        if (parameters.var("scheduler_event_handler_host")!=null && parameters.var("scheduler_event_handler_host").length()>0){
          eventHandlerHost=parameters.var("scheduler_event_handler_host");
          spooler_log.debug1("...parameter[scheduler_event_handler_host]: "+eventHandlerHost);
          parameterNames.add("scheduler_event_handler_host");
        }
       
        if (parameters.var("scheduler_event_handler_port")!=null && parameters.var("scheduler_event_handler_port").length()>0){
View Full Code Here

          eventHandlerHost=parameters.var("scheduler_event_handler_host");
          spooler_log.debug1("...parameter[scheduler_event_handler_host]: "+eventHandlerHost);
          parameterNames.add("scheduler_event_handler_host");
        }
       
        if (parameters.var("scheduler_event_handler_port")!=null && parameters.var("scheduler_event_handler_port").length()>0){
          eventHandlerTCPPort=Integer.parseInt(parameters.var("scheduler_event_handler_port"));
          spooler_log.debug1("...parameter[scheduler_event_handler_port]: "+eventHandlerTCPPort);
          parameterNames.add("scheduler_event_handler_port");
        }
       
View Full Code Here

          eventHandlerHost=parameters.var("scheduler_event_handler_host");
          spooler_log.debug1("...parameter[scheduler_event_handler_host]: "+eventHandlerHost);
          parameterNames.add("scheduler_event_handler_host");
        }
       
        if (parameters.var("scheduler_event_handler_port")!=null && parameters.var("scheduler_event_handler_port").length()>0){
          eventHandlerTCPPort=Integer.parseInt(parameters.var("scheduler_event_handler_port"));
          spooler_log.debug1("...parameter[scheduler_event_handler_port]: "+eventHandlerTCPPort);
          parameterNames.add("scheduler_event_handler_port");
        }
       
View Full Code Here

          spooler_log.debug1("...parameter[scheduler_event_handler_host]: "+eventHandlerHost);
          parameterNames.add("scheduler_event_handler_host");
        }
       
        if (parameters.var("scheduler_event_handler_port")!=null && parameters.var("scheduler_event_handler_port").length()>0){
          eventHandlerTCPPort=Integer.parseInt(parameters.var("scheduler_event_handler_port"));
          spooler_log.debug1("...parameter[scheduler_event_handler_port]: "+eventHandlerTCPPort);
          parameterNames.add("scheduler_event_handler_port");
        }
       
        if (expires.length()==0 && (expCycle.length()>0 || expPeriod.length()>0)){
View Full Code Here

        // use all other parameters as event parameters:
        String[] paramNames = parameters.names().split(";");
        for (int i = 0; i < paramNames.length; i++) {
          String paramName = paramNames[i];
          if (!parameterNames.contains(paramName)){
            String paramValue = parameters.var(paramName);
            spooler_log.debug1("...event parameter["+paramName+"]: "+paramValue);
            eventParameters.put(paramName, paramValue);
          }
        }
       
View Full Code Here

      // order driven or job driven?
      if (spooler_job.order_queue() != null) {
          rc = true;
          Order order = spooler_task.order();
          Variable_set payload = (sos.spooler.Variable_set) order.payload();
          if (payload.var("config_file") != null && payload.var("config_file").length() > 0) {
              this.configFile = payload.var("config_file");
          spooler_log.debug3(".. order parameter [config_file]: " + this.configFile);
          }
      }
     
View Full Code Here

      // order driven or job driven?
      if (spooler_job.order_queue() != null) {
          rc = true;
          Order order = spooler_task.order();
          Variable_set payload = (sos.spooler.Variable_set) order.payload();
          if (payload.var("config_file") != null && payload.var("config_file").length() > 0) {
              this.configFile = payload.var("config_file");
          spooler_log.debug3(".. order parameter [config_file]: " + this.configFile);
          }
      }
     
View Full Code Here

      if (spooler_job.order_queue() != null) {
          rc = true;
          Order order = spooler_task.order();
          Variable_set payload = (sos.spooler.Variable_set) order.payload();
          if (payload.var("config_file") != null && payload.var("config_file").length() > 0) {
              this.configFile = payload.var("config_file");
          spooler_log.debug3(".. order parameter [config_file]: " + this.configFile);
          }
      }
     
      spooler_log.info(".. parameter [config_file]: " + this.configFile);
View Full Code Here

          String once="";
          String remove="";
          try{
          Variable_set params = spooler_task.params();
          if(params!=null){
            order = params.var("order");
            model = params.var("model");
            job   = params.var("job");
            once  = params.var("once");
            remove = params.var("remove_job_chain");
          }
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.