Package com.zeroturnaround.liverebel.api

Examples of com.zeroturnaround.liverebel.api.VersionInfo


  }

  private static String getLatestVersionId(CommandCenter center, String appName) {
    ApplicationInfo application = center.getApplication(appName);
    Collection<VersionInfo> versionInfos = application.getVersionsMap().values();
    VersionInfo lastVersion = getLatestVersion(versionInfos);
    return lastVersion.getId();
  }
View Full Code Here


  private static Comparator<VersionInfo> createVersionsByDateAddedComparator() {
    @SuppressWarnings("unchecked")
    Comparator<VersionInfo> versionsByDateComparator = ComparatorUtils.transformedComparator(ComparatorUtils.nullLowComparator(ComparatorUtils.naturalComparator()),
        new Transformer() {
          public Object transform(Object versionInfoObject) {
            VersionInfo verInfo = (VersionInfo) versionInfoObject;
            return verInfo.getAdded();
          }
        });
    return versionsByDateComparator;
  }
View Full Code Here

TOP

Related Classes of com.zeroturnaround.liverebel.api.VersionInfo

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.