List of usage examples for com.amazonaws.services.codedeploy.model BundleType Tar
BundleType Tar
To view the source code for com.amazonaws.services.codedeploy.model BundleType Tar.
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 ww w .j ava 2 s. c o m*/ }