org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBUtils
java.lang.Object
org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBUtils
public class AWSEBUtils
- extends Object
Method Summary |
static String |
formatPath(String mask,
Object... args)
|
static String |
getApplicationListAsString(AWSEBCredentials credentials,
com.amazonaws.regions.Regions region)
|
static List<com.amazonaws.services.elasticbeanstalk.model.ApplicationDescription> |
getApplications(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region)
|
static List<String> |
getBadEnvironmentNames(String environments)
|
static com.amazonaws.ClientConfiguration |
getClientConfig()
|
static com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk |
getElasticBeanstalk(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Region region)
|
static List<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> |
getEnvironments(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region,
String appName)
|
static com.amazonaws.services.s3.AmazonS3 |
getS3(AWSEBCredentials credentials,
com.amazonaws.regions.Regions awsRegion)
|
static List<String> |
getValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
List<String> values)
|
static String |
getValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String value)
|
static boolean |
isValidEnvironmentName(String name)
|
static void |
log(hudson.model.BuildListener listener,
String mask,
Object... args)
|
static String |
replaceMacros(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String inputString)
|
static String |
strip(String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWSEBUtils
public AWSEBUtils()
formatPath
public static String formatPath(String mask,
Object... args)
getValue
public static List<String> getValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
List<String> values)
getS3
public static com.amazonaws.services.s3.AmazonS3 getS3(AWSEBCredentials credentials,
com.amazonaws.regions.Regions awsRegion)
getValue
public static String getValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String value)
strip
public static String strip(String str)
getApplicationListAsString
public static String getApplicationListAsString(AWSEBCredentials credentials,
com.amazonaws.regions.Regions region)
getBadEnvironmentNames
public static List<String> getBadEnvironmentNames(String environments)
isValidEnvironmentName
public static boolean isValidEnvironmentName(String name)
getApplications
public static List<com.amazonaws.services.elasticbeanstalk.model.ApplicationDescription> getApplications(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region)
getEnvironments
public static List<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> getEnvironments(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region,
String appName)
replaceMacros
public static String replaceMacros(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String inputString)
getElasticBeanstalk
public static com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk getElasticBeanstalk(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Region region)
getClientConfig
public static com.amazonaws.ClientConfiguration getClientConfig()
log
public static void log(hudson.model.BuildListener listener,
String mask,
Object... args)
Copyright © 2014-2015. All Rights Reserved.