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;
}
}