| Modifiers | Name | Description |
|---|---|---|
protected RunConfiguration |
configuration |
| Constructor and description |
|---|
SystemScript
(RunConfiguration configuration, java.lang.String version) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
buildOn(java.nio.file.Path dir)Generates script file on given directory |
|
protected java.lang.String |
buildRunCommand()Builds and returns server run command It is same for any OS |
|
java.util.List<java.lang.String> |
getCommand()Returns command for ProcessBuilder |
|
protected java.lang.String |
getExt()Returns script file extension |
|
protected java.lang.String |
getFileName()Returns script file name |
|
static SystemScript |
getScript(RunConfiguration configuration, java.lang.String version)Returns start script for current system |
|
protected java.lang.String |
getScriptText()Returns script file content as multiline string |
|
protected java.lang.String |
getTitle()Gets title for console window |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Generates script file on given directory
dir - The directoryBuilds and returns server run command It is same for any OS
Returns command for ProcessBuilder
Returns script file extension
Returns script file name
Returns start script for current system
configuration - Run configurationversion - Server versionReturns script file content as multiline string
Gets title for console window