List of usage examples for com.amazonaws.services.codedeploy.model BundleType Tgz
BundleType Tgz
To view the source code for com.amazonaws.services.codedeploy.model BundleType Tgz.
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;// w ww .j a v a 2 s .co m }