Package center.task.prm.tp

Examples of center.task.prm.tp.Str


    if (e != null) {
      loadNewParams(prms, prms_parent, e);

      Element task_api = (Element) Strings.getXMLObject(e, "task_api");
      if (task_api != null)
        this.task_api = new Str(task_api, this);

      Element task_alias = (Element) Strings
          .getXMLObject(e, "task_alias");
      if (task_alias != null)
        this.task_alias = new Str(task_alias, this);

      Element classname = (Element) Strings.getXMLObject(e, "classname");
      if (classname != null)
        this.classname = new Str(classname, this);

      Element block_duration = (Element) Strings.getXMLObject(e,
          "block_duration");
      if (block_duration != null)
        this.block_duration = new Int(block_duration, this);

      Element finish_duration = (Element) Strings.getXMLObject(e,
          "finish_duration");
      if (finish_duration != null)
        this.finish_duration = new Int(finish_duration, this);

      Element arch_day = (Element) Strings.getXMLObject(e, "arch_day");
      if (arch_day != null)
        this.arch_day = new Str(arch_day, this);

      Element processor_id = (Element) Strings.getXMLObject(e,
          "processor_id");
      if (processor_id != null)
        this.processor_id = new Int(processor_id, this);
View Full Code Here


  public void load(ATaskInfo parent, ATaskInfo extend, Element e) throws SysException {
    super.load(parent, extend, e);
    Element action = (Element) Strings.getXMLObject(e, "action");
    if (action == null)
      throw new SysException("Undefined element \"action\"");
    this.action = new Str(action, this);
    Element pcs = (Element) Strings.getXMLObject(e, "period-check-sec");
    if (pcs == null)
      throw new SysException("Undefined element \"period-check-sec\"");
    this.pcs = new Int(pcs, this);
    Element wait_finished = (Element) Strings.getXMLObject(e, "wait-finished");
    if (wait_finished == null)
      this.wait_finished = null;
    else
      this.wait_finished = new Str(wait_finished, this);
    name = e.getAttribute("name");
  }
View Full Code Here

    super.load(parent, null, e);
    prms = new TreeMap<String, Object>();
    prms_parent = new TreeMap<String, Object>();
    loadNewParams(prms, prms_parent, e);
    Element processor = (Element) Strings.getXMLObject(e, "processor");
    if (processor != null) this.processor_name = new Str(processor, this);
    st = new Str();
  }
View Full Code Here

TOP

Related Classes of center.task.prm.tp.Str

Copyright © 2018 www.massapicom. 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.