Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz1215274 - add test for minimum doc percent in pull command
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed May 19, 2015
1 parent 8c2c71f commit 5895ecd
Show file tree
Hide file tree
Showing 4 changed files with 306 additions and 21 deletions.
Expand Up @@ -49,9 +49,9 @@ public interface BasicOptions {

boolean isQuietSet();

public boolean isInteractiveMode();
boolean isInteractiveMode();

public void setInteractiveMode(boolean interactiveMode);
void setInteractiveMode(boolean interactiveMode);

/**
* Used to generate the command line interface and its usage help. This name
Expand All @@ -60,17 +60,17 @@ public interface BasicOptions {
*
* @return
*/
public String getCommandName();
String getCommandName();

/**
* Used to generate CLI usage help. This description should preferably match
* the Maven Mojo's Javadoc description.
*
* @return
*/
public String getCommandDescription();
String getCommandDescription();

public @Nonnull List<CommandHook> getCommandHooks();
@Nonnull List<CommandHook> getCommandHooks();

public void setCommandHooks(@Nonnull List<CommandHook> commandHooks);
void setCommandHooks(@Nonnull List<CommandHook> commandHooks);
}
Expand Up @@ -18,51 +18,50 @@ public interface ConfigurableOptions extends BasicOptions {
/**
* API key for accessing the REST API. Defaults to the value in zanata.ini.
*/
public String getKey();
String getKey();

public void setKey(String key);
void setKey(String key);

/**
* Base URL for the server. Defaults to the value in zanata.xml.
*/
public URL getUrl();
URL getUrl();

public void setUrl(URL url);
void setUrl(URL url);

/**
* Client configuration file.
*/
public File getUserConfig();
File getUserConfig();

public void setUserConfig(File userConfig);
void setUserConfig(File userConfig);

/**
* Username for accessing the REST API. Defaults to the value in zanata.ini.
*/
public String getUsername();
String getUsername();

public void setUsername(String username);
void setUsername(String username);

/**
* Enable HTTP message logging.
*/
public boolean getLogHttp();
boolean getLogHttp();

public void setLogHttp(boolean traceLogging);
void setLogHttp(boolean traceLogging);

/**
* Disable SSL certificate verification when connecting to Zanata host by
* https.
*/
boolean isDisableSSLCert();

public
void setDisableSSLCert(boolean disableSSLCert);
void setDisableSSLCert(boolean disableSSLCert);

/**
* Use to disable check for presence of username and API key before running command.
*
* @return true if this command should fail when username or API key is absent.
*/
public boolean isAuthRequired();
boolean isAuthRequired();
}
Expand Up @@ -55,15 +55,15 @@ public interface PushPullOptions extends ConfigurableProjectOptions {

File getTransDir();

public String getFromDoc();
String getFromDoc();

/**
* This name should represent the exact parameter as it would be entered on
* the command line, and include any space or operators that would link the
* parameter to the argument. This is so that the argument can be appended
* directly to the parameter name.
*/
public String buildFromDocArgument(String argValue);
String buildFromDocArgument(String argValue);

boolean getEnableModules();

Expand Down

0 comments on commit 5895ecd

Please sign in to comment.