public class Depl
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
nodes_file |
Constructor and Description |
---|
Depl() |
Modifier and Type | Method and Description |
---|---|
static Output |
executeCMDandForward(java.lang.String[] cmd)
Just do execution.
|
static Output |
executeCMDandNoWait(java.lang.String[] cmd)
Execute the command and doesn't wait for
outputs
|
static java.lang.String |
getBinDirectory()
Return the bin directory
|
static java.lang.String |
getJavaHomePath()
Return the java home path
|
static java.lang.String |
getProjectHomePath()
Return the project home path
|
static int |
getRackID(java.lang.String line)
Get the rack ID from the string
|
static boolean |
isRack(java.lang.String line)
Check if this string is a tag of rack or not
|
static void |
main(java.lang.String[] args) |
public static Output executeCMDandForward(java.lang.String[] cmd)
cmd
- the commandpublic static Output executeCMDandNoWait(java.lang.String[] cmd)
cmd
- the commandpublic static java.lang.String getJavaHomePath()
public static java.lang.String getProjectHomePath()
public static java.lang.String getBinDirectory()
public static boolean isRack(java.lang.String line)
line
- the stringpublic static int getRackID(java.lang.String line)
line
- the stringpublic static void main(java.lang.String[] args)