|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.maven.plugins.sourcerelease.util.DefaultScriptHelper
com.atlassian.maven.plugins.sourcerelease.util.WindowsScriptHelper
public class WindowsScriptHelper
| Field Summary |
|---|
| Fields inherited from class com.atlassian.maven.plugins.sourcerelease.util.DefaultScriptHelper |
|---|
appendToMavenCommands, betweenEachCommand, commands, directory, extraCli, filename, fileWriter, newLine, preliminaryLines |
| Constructor Summary | |
|---|---|
WindowsScriptHelper(java.io.File directory,
java.lang.String filename,
boolean withTests)
|
|
| Method Summary | |
|---|---|
void |
addCommand(java.lang.String command,
boolean isMaven,
boolean takesExtraCli)
Adds a command without any arguments |
void |
addCommand(java.lang.String command,
java.lang.String arguments,
boolean isMaven,
boolean takesExtraCli)
Adds a command with arguments |
void |
addCurrentDirToPath()
Adds a command to put the current directory in the system path |
void |
addLocalRepoLine(java.lang.String localRepoFilename)
Adds "-Dmaven.repo.local=localRepoFilename" to all maven commands |
void |
addOtherPreliminaryLine(java.lang.String line)
Allows adding of extra commands before the main project commands |
void |
addSettingsLine(java.lang.String settingsFilename)
Adds a "-s settingsFilename" to all maven commands |
void |
useErrorMode()
Makes the script halt on the first error rather than plowing on |
| Methods inherited from class com.atlassian.maven.plugins.sourcerelease.util.DefaultScriptHelper |
|---|
addToMavenCommands, includeSettingsFile, writeScript |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.maven.plugins.sourcerelease.util.ScriptHelper |
|---|
includeSettingsFile, writeScript |
| Constructor Detail |
|---|
public WindowsScriptHelper(java.io.File directory,
java.lang.String filename,
boolean withTests)
| Method Detail |
|---|
public void addSettingsLine(java.lang.String settingsFilename)
ScriptHelper
addSettingsLine in interface ScriptHelperpublic void addLocalRepoLine(java.lang.String localRepoFilename)
ScriptHelper
addLocalRepoLine in interface ScriptHelperpublic void addCurrentDirToPath()
ScriptHelper
addCurrentDirToPath in interface ScriptHelperpublic void useErrorMode()
ScriptHelper
useErrorMode in interface ScriptHelperpublic void addOtherPreliminaryLine(java.lang.String line)
ScriptHelper
addOtherPreliminaryLine in interface ScriptHelper
public void addCommand(java.lang.String command,
boolean isMaven,
boolean takesExtraCli)
ScriptHelper
addCommand in interface ScriptHelper
public void addCommand(java.lang.String command,
java.lang.String arguments,
boolean isMaven,
boolean takesExtraCli)
ScriptHelper
addCommand in interface ScriptHelper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||