Exemplo n.º 1
0
  /**
   * Perform execution of the tool.
   *
   * <p>
   *
   * @param mclient The network connection to the plmaster(1) daemon.
   * @param qclient The network connection to the plqueuemgr(1) daemon.
   * @return Whether to continue and collect user input for the next phase of the tool.
   * @throws PipelineException If unable to sucessfully execute this phase of the tool.
   */
  public synchronized boolean executePhase(MasterMgrClient mclient, QueueMgrClient qclient)
      throws PipelineException {
    DoubleMap<String, String, TreeSet<VersionID>> plugs = null;

    pToolset = mclient.getDefaultToolsetName();
    plugs = mclient.getToolsetActionPlugins(pToolset);

    mclient.checkOut(
        pUser, pView, "/projects/lr/assets/tools/mel/finalize-character", null, over, froz);
    mclient.checkOut(pUser, pView, "/projects/lr/assets/tools/mel/finalize-set", null, over, froz);
    mclient.checkOut(pUser, pView, "/projects/lr/assets/tools/mel/finalize-prop", null, over, froz);

    for (String switchName : pSelected.keySet()) {
      dylanate(mclient, switchName, plugs);
    }

    err.close();

    return false;
  } // end executePhase