List of usage examples for com.amazonaws.services.codedeploy.model BundleType Zip
BundleType Zip
To view the source code for com.amazonaws.services.codedeploy.model BundleType Zip.
Click Source Link
From source file:jetbrains.buildServer.runner.codedeploy.CodeDeployUtil.java
License:Apache License
@Nullable public static String getBundleType(@NotNull String revision) { if (revision.endsWith(".zip")) return BundleType.Zip.name(); if (revision.endsWith(".tar")) return BundleType.Tar.name(); if (revision.endsWith(".tar.gz") || revision.endsWith(".tgz")) return BundleType.Tgz.name(); return null;//from w ww . j av a 2s. c o m }