All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bxt.request.cli.workflow.DeployWarToTestEnvironment Maven / Gradle / Ivy

package bxt.request.cli.workflow;

import bxt.command.CommandLineParams;
import com.amazonaws.services.s3.model.S3VersionSummary;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;

@Parameters(separators = " =")
public final class DeployWarToTestEnvironment implements CommandLineParams {

    @Parameter(names = "--bucket-name", required = true)
    private String bucketName;

    @Parameter(names = "--key-name", required = true)
    private String keyName;

    @Override
    public S3VersionSummary get() {
        S3VersionSummary versionSummary = new S3VersionSummary();
        versionSummary.setBucketName(bucketName);
        versionSummary.setKey(keyName);
        return versionSummary;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy