Package com.hlcl.rql.as

Examples of com.hlcl.rql.as.PublishingTarget


  public String convertPageStageToServerName(String stageName) throws RQLException {

    java.util.List<PublishingTarget> targets = getPublishingTargets();

    // find target by name starts with
    PublishingTarget stageTarget = null;
    for (int i = 0; i < targets.size(); i++) {
      PublishingTarget target = targets.get(i);
      if (target.getName().startsWith(stageName)) {
        stageTarget = target;
      }
    }

    // split and return middle name, if found
View Full Code Here


    for (PublicationSetting combination : publPackage.getPublicationSettings()) {
      String pvStage = combination.getProjectVariantName().substring(0, 4);

      // add all targets until given stage
      for (int i = 0; i < targets.length; i++) {
        PublishingTarget target = targets[i];
        combination.addPublishingTo(target);

        // add ends at stage
        if (target.getName().substring(0, 4).equals(pvStage)) {
          break;
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.hlcl.rql.as.PublishingTarget

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.