com.amazonaws.util.VersionInfoUtils Java Examples

The following examples show how to use com.amazonaws.util.VersionInfoUtils. 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 File: DeployerCommand.java    From awseb-deployment-plugin with 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
Source File: AbstractAmazonSQSClientWrapper.java    From amazon-sqs-java-temporary-queues-client with Apache License 2.0 4 votes vote down vote up
public AbstractAmazonSQSClientWrapper(AmazonSQS amazonSqsToBeExtended) {
    this.amazonSqsToBeExtended = Objects.requireNonNull(amazonSqsToBeExtended);
    this.userAgent = getClass().getSimpleName() + "/" + VersionInfoUtils.getVersion();
}