Java Code Examples for com.martiansoftware.jsap.Switch#setHelp()

The following examples show how to use com.martiansoftware.jsap.Switch#setHelp() . 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: GitRepositoryLauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgGitRepositoryMode() {
    Switch sw = new Switch("gitRepo");
    sw.setLongFlag("gitrepo");
    sw.setDefault("false");
    sw.setHelp("This mode allows to use Repairnator to analyze bugs present in a Git repository.");
    return sw;
}
 
Example 2
Source File: GitRepositoryLauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgGitRepositoryFirstCommit() {
    Switch sw = new Switch("gitRepositoryFirstCommit");
    sw.setLongFlag("gitrepofirstcommit");
    sw.setDefault("false");
    sw.setHelp("Decides whether to clone the first commit of the specified branch (only in GIT_REPOSITORY mode).");
    return sw;
}
 
Example 3
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgNotifyEndProcess() {
    Switch sw = new Switch("notifyEndProcess");
    sw.setLongFlag("notifyEndProcess");
    sw.setDefault("false");
    sw.setHelp("Activate the notification when the process ends.");
    return sw;
}
 
Example 4
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgCreatePR() {
    Switch sw = new Switch("createPR");
    sw.setLongFlag("createPR");
    sw.setDefault("false");
    sw.setHelp("Activate the creation of a Pull Request in case of patch.");
    return sw;
}
 
Example 5
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgCheckstyleMode() {
    Switch sw = new Switch("checkstyle");
    sw.setLongFlag("checkstyle");
    sw.setDefault("false");
    sw.setHelp("This mode allows to use repairnator to analyze build failing because of checkstyle.");
    return sw;
}
 
Example 6
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgBearsMode() {
    Switch sw = new Switch("bears");
    sw.setLongFlag("bears");
    sw.setDefault("false");
    sw.setHelp("This mode allows to use repairnator to analyze pairs of bugs and human-produced patches.");
    return sw;
}
 
Example 7
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgSmtpTLS() {
    Switch sw = new Switch("smtpTLS");
    sw.setLongFlag("smtpTLS");
    sw.setDefault("false");
    sw.setHelp("Decides whether to use TLS for email communication.");
    return sw;
}
 
Example 8
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgCreateOutputDir() {
    Switch sw = new Switch("createOutputDir");
    sw.setLongFlag("createOutputDir");
    sw.setDefault("false");
    sw.setHelp("Create a specific directory for output.");
    return sw;
}
 
Example 9
Source File: LauncherUtils.java    From repairnator with MIT License 5 votes vote down vote up
public static Switch defineArgSkipDelete() {
    Switch sw = new Switch("skipDelete");
    sw.setLongFlag("skipDelete");
    sw.setDefault("false");
    sw.setHelp("Skip the deletion of docker container.");
    return sw;
}