Examples of DeploymentCompareBean


Examples of org.infoglue.cms.applications.managementtool.actions.deployment.DeploymentCompareBean

          localContentVO.setVersions(new String[]{localVersion.getVersionValue()});
          logger.info("fileContent:" + fileContent.length());
          logger.info("localVersion.getVersionValue():" + localVersion.getVersionValue().length());
        }
       
        DeploymentCompareBean deploymentCompareBean = new DeploymentCompareBean();
        deploymentCompareBean.setRemoteVersion(cvsContent);
        deploymentCompareBean.setLocalVersion(localContentVO);
       
        logger.info("Adding:" + localContentVO.getName() + " = " + cvsContent.getName());
        deploymentCompareBeans.add(deploymentCompareBean);
      }
      else
      {
        logger.info("No local version of " + parentFile.getName());
        ContentVO cvsContent = new ContentVO();
        cvsContent.setContentId(cvsFakeContentId);
        cvsContent.setName(parentFile.getName());
        cvsContent.setFullPath(parentFile.getPath());
       
        cvsContent.setVersions(new String[]{fileContent});
       
        ContentVO localContent = new ContentVO();
       
        DeploymentCompareBean deploymentCompareBean = new DeploymentCompareBean();
        deploymentCompareBean.setRemoteVersion(cvsContent);
        deploymentCompareBean.setLocalVersion(null);
       
        logger.info("Adding:" + null + " = " + cvsContent.getName());
        deploymentCompareBeans.add(deploymentCompareBean);
      }
    }
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.