rename binaryPathName to path
This commit is contained in:
parent
a0017f6dca
commit
7e3f7cce07
|
@ -313,7 +313,7 @@ JNIEXPORT jboolean SIGAR_JNI(win32_Service_QueryServiceConfig)
|
||||||
|
|
||||||
SERVICE_SetIntField("errorControl", config->dwErrorControl);
|
SERVICE_SetIntField("errorControl", config->dwErrorControl);
|
||||||
|
|
||||||
SERVICE_SetStringField("binaryPathName", config->lpBinaryPathName);
|
SERVICE_SetStringField("path", config->lpBinaryPathName);
|
||||||
|
|
||||||
SERVICE_SetStringField("loadOrderGroup", config->lpLoadOrderGroup);
|
SERVICE_SetStringField("loadOrderGroup", config->lpLoadOrderGroup);
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ public class Service extends Win32 {
|
||||||
ServiceConfig config = service.getConfig();
|
ServiceConfig config = service.getConfig();
|
||||||
System.out.println("[" + name + "]" +
|
System.out.println("[" + name + "]" +
|
||||||
"=" +
|
"=" +
|
||||||
"[" + config.getBinaryPathName() + "]");
|
"[" + config.getPath() + "]");
|
||||||
String[] deps = config.getDependencies();
|
String[] deps = config.getDependencies();
|
||||||
if (deps.length != 0) {
|
if (deps.length != 0) {
|
||||||
System.out.println(" deps..." + Arrays.asList(deps));
|
System.out.println(" deps..." + Arrays.asList(deps));
|
||||||
|
|
|
@ -75,7 +75,7 @@ public class ServiceConfig {
|
||||||
int type;
|
int type;
|
||||||
int startType;
|
int startType;
|
||||||
int errorControl;
|
int errorControl;
|
||||||
String binaryPathName;
|
String path;
|
||||||
String loadOrderGroup;
|
String loadOrderGroup;
|
||||||
int tagId;
|
int tagId;
|
||||||
String[] dependencies;
|
String[] dependencies;
|
||||||
|
@ -100,16 +100,16 @@ public class ServiceConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Returns the binaryPathName.
|
* @return Returns the path.
|
||||||
*/
|
*/
|
||||||
public String getBinaryPathName() {
|
public String getPath() {
|
||||||
return binaryPathName;
|
return path;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param binaryPathName The binaryPathName to set.
|
* @param path The path to set.
|
||||||
*/
|
*/
|
||||||
public void setBinaryPathName(String binaryPathName) {
|
public void setPath(String binaryPathName) {
|
||||||
this.binaryPathName = binaryPathName;
|
this.path = binaryPathName;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @return Returns the dependencies.
|
* @return Returns the dependencies.
|
||||||
|
|
Loading…
Reference in New Issue