22
22
* Definition of a service to be installed on the target system.
23
23
*/
24
24
public class Service extends Application {
25
-
26
25
private boolean startOnBoot = true , keepAlive = false ;
27
26
28
- private String id , wrapper , logPath , logPrefix , logLevel , pidFile , stdError , stdOutput , libraryPath , javaHome , jvm , winStartupMode ;
27
+ private String id , wrapper , logPath , logPrefix , logLevel , pidFile , stdError , stdOutput , libraryPath , javaHome , jvm ;
29
28
30
29
/**
31
30
* Create a new Service
@@ -39,7 +38,6 @@ public Service( SetupBuilder setup ) {
39
38
/**
40
39
* Returns a boolean flag indicating whether the service is started when the system is booted.
41
40
*
42
- * @see #getWinStartupMode()
43
41
* @return boolean flag indicating whether the service is started when the system is booted
44
42
*/
45
43
public boolean isStartOnBoot () {
@@ -49,26 +47,12 @@ public boolean isStartOnBoot() {
49
47
/**
50
48
* Sets a boolean flag indicating whether the service is started when the system is booted.
51
49
*
52
- * @see #setWinStartupMode(String)
53
50
* @param startOnBoot boolean flag indicating whether the service is started when the system is booted
54
51
*/
55
52
public void setStartOnBoot ( boolean startOnBoot ) {
56
53
this .startOnBoot = startOnBoot ;
57
54
}
58
55
59
- /**
60
- * Gets the startup mode for Windows. One of "delayed", "auto", or "manual". Overrides {@link #isStartOnBoot()}
61
- * if set.
62
- */
63
- public String getWinStartupMode () {
64
- return winStartupMode ;
65
- }
66
-
67
- /** Service startup mode can be either "delayed", "auto", or "manual". Overrides {@link #setStartOnBoot(boolean)} */
68
- public void setWinStartupMode ( String winStartupMode ) {
69
- this .winStartupMode = winStartupMode ;
70
- }
71
-
72
56
/**
73
57
* Returns the serviceID which should be a short version of the application name
74
58
*
0 commit comments