Java Code Examples for com.amazonaws.util.VersionInfoUtils

The following examples show how to use com.amazonaws.util.VersionInfoUtils. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: awseb-deployment-plugin   Source File: DeployerCommand.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public boolean perform() {
    /*
     * When Running Remotely, we use loggerOut pipe.
     *
     * Locally, we already set logger instance
     */
    if (null == getLogger())
        setLogger(getListener().getLogger());

    log("AWSEB Deployment Plugin Version %s (aws-java-sdk version: %s)", Utils.getVersion(), VersionInfoUtils.getVersion());

    return false;
}
 
Example 2
public AbstractAmazonSQSClientWrapper(AmazonSQS amazonSqsToBeExtended) {
    this.amazonSqsToBeExtended = Objects.requireNonNull(amazonSqsToBeExtended);
    this.userAgent = getClass().getSimpleName() + "/" + VersionInfoUtils.getVersion();
}