Whitespace tweaks.
This commit is contained in:
@@ -24,13 +24,13 @@ public class SysProps
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Configures the appbase (in lieu of providing a skeleton getdown.txt, and as a last resort
|
/** Configures the appbase (in lieu of providing a skeleton getdown.txt, and as a last resort
|
||||||
* fallback). Usage: {@code -Dappbase=someurl}. */
|
* fallback). Usage: {@code -Dappbase=someurl}. */
|
||||||
public static String appBase () {
|
public static String appBase () {
|
||||||
return System.getProperty("appbase");
|
return System.getProperty("appbase");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** If true, disables redirection of logging into {@code launcher.log}.
|
/** If true, disables redirection of logging into {@code launcher.log}.
|
||||||
* Usage: {@code -Dno_log_redir}. */
|
* Usage: {@code -Dno_log_redir}. */
|
||||||
public static boolean noLogRedir () {
|
public static boolean noLogRedir () {
|
||||||
return System.getProperty("no_log_redir") != null;
|
return System.getProperty("no_log_redir") != null;
|
||||||
}
|
}
|
||||||
@@ -41,20 +41,20 @@ public class SysProps
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** If true, Getdown installs the app without ever bringing up a UI, except in the event of an
|
/** If true, Getdown installs the app without ever bringing up a UI, except in the event of an
|
||||||
* error. NOTE: it does not launch the app. See {@link #launchInSilent}.
|
* error. NOTE: it does not launch the app. See {@link #launchInSilent}.
|
||||||
* Usage: {@code -Dsilent}. */
|
* Usage: {@code -Dsilent}. */
|
||||||
public static boolean silent () {
|
public static boolean silent () {
|
||||||
return System.getProperty("silent") != null;
|
return System.getProperty("silent") != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** If true, Getdown installs the app without ever bringing up a UI and then launches it.
|
/** If true, Getdown installs the app without ever bringing up a UI and then launches it.
|
||||||
* Usage: {@code -Dsilent=launch}. */
|
* Usage: {@code -Dsilent=launch}. */
|
||||||
public static boolean launchInSilent () {
|
public static boolean launchInSilent () {
|
||||||
return "launch".equals(System.getProperty("silent"));
|
return "launch".equals(System.getProperty("silent"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Specifies the a delay (in minutes) to wait before starting the update and install process.
|
/** Specifies the a delay (in minutes) to wait before starting the update and install process.
|
||||||
* Usage: {@code -Ddelay=N}. */
|
* Usage: {@code -Ddelay=N}. */
|
||||||
public static int startDelay () {
|
public static int startDelay () {
|
||||||
return Integer.getInteger("delay", 0);
|
return Integer.getInteger("delay", 0);
|
||||||
}
|
}
|
||||||
@@ -65,17 +65,17 @@ public class SysProps
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** If true, Getdown will run the application in the same VM in which Getdown is running. If
|
/** If true, Getdown will run the application in the same VM in which Getdown is running. If
|
||||||
* false (the default), Getdown will fork a new VM. Note that reusing the same VM prevents
|
* false (the default), Getdown will fork a new VM. Note that reusing the same VM prevents
|
||||||
* Getdown from configuring some launch-time-only VM parameters (like -mxN etc.).
|
* Getdown from configuring some launch-time-only VM parameters (like -mxN etc.).
|
||||||
* Usage: {@code -Ddirect}. */
|
* Usage: {@code -Ddirect}. */
|
||||||
public static boolean direct () {
|
public static boolean direct () {
|
||||||
return Boolean.getBoolean("direct");
|
return Boolean.getBoolean("direct");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Specifies the connection timeout (in seconds) to use when downloading control files from
|
/** Specifies the connection timeout (in seconds) to use when downloading control files from
|
||||||
* the server. This is chiefly useful when you are running in versionless mode and want Getdown
|
* the server. This is chiefly useful when you are running in versionless mode and want Getdown
|
||||||
* to more quickly timeout its startup update check if the server with which it is
|
* to more quickly timeout its startup update check if the server with which it is
|
||||||
* communicating is not available. Usage: {@code -Dconnect_timeout=N}. */
|
* communicating is not available. Usage: {@code -Dconnect_timeout=N}. */
|
||||||
public static int connectTimeout () {
|
public static int connectTimeout () {
|
||||||
return Integer.getInteger("connect_timeout", 0);
|
return Integer.getInteger("connect_timeout", 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user