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_SetStringField("binaryPathName", config->lpBinaryPathName);
|
||||
SERVICE_SetStringField("path", config->lpBinaryPathName);
|
||||
|
||||
SERVICE_SetStringField("loadOrderGroup", config->lpLoadOrderGroup);
|
||||
|
||||
|
|
|
@ -356,7 +356,7 @@ public class Service extends Win32 {
|
|||
ServiceConfig config = service.getConfig();
|
||||
System.out.println("[" + name + "]" +
|
||||
"=" +
|
||||
"[" + config.getBinaryPathName() + "]");
|
||||
"[" + config.getPath() + "]");
|
||||
String[] deps = config.getDependencies();
|
||||
if (deps.length != 0) {
|
||||
System.out.println(" deps..." + Arrays.asList(deps));
|
||||
|
|
|
@ -75,7 +75,7 @@ public class ServiceConfig {
|
|||
int type;
|
||||
int startType;
|
||||
int errorControl;
|
||||
String binaryPathName;
|
||||
String path;
|
||||
String loadOrderGroup;
|
||||
int tagId;
|
||||
String[] dependencies;
|
||||
|
@ -100,16 +100,16 @@ public class ServiceConfig {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return Returns the binaryPathName.
|
||||
* @return Returns the path.
|
||||
*/
|
||||
public String getBinaryPathName() {
|
||||
return binaryPathName;
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
/**
|
||||
* @param binaryPathName The binaryPathName to set.
|
||||
* @param path The path to set.
|
||||
*/
|
||||
public void setBinaryPathName(String binaryPathName) {
|
||||
this.binaryPathName = binaryPathName;
|
||||
public void setPath(String binaryPathName) {
|
||||
this.path = binaryPathName;
|
||||
}
|
||||
/**
|
||||
* @return Returns the dependencies.
|
||||
|
|
Loading…
Reference in New Issue