5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 06:51:49 +08:00

Class documentation is added to CloudCredentialsRule.

This commit is contained in:
Szabolcs Vasas 2019-01-14 12:00:07 +01:00
parent 1ea67cfbc9
commit 5691dd6787

View File

@ -33,6 +33,18 @@
import java.util.HashMap;
import java.util.Map;
/**
* The task of this rule is to execute the credential generator command for the given cloud storage
* and store its output for later use.
* If the credential generator command is not provided the tests using this rule will be skipped.
*
* The subclasses of this rule have to define:
* <ul>
* <li>what is the credential generator command</li>
* <li>how to use its output to create the credentials map</li>
* <li>how apply the credentials to the Hadoop configurations and Sqoop arguments for the tests</li>
* </ul>
*/
public abstract class CloudCredentialsRule implements TestRule {
protected final Map<String, String> credentialsMap;