47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.install;
|
|
|
|
import com.tridium.platform.daemon.message.XmlResponseMessage;
|
|
|
|
public class GetModuleListMessage
|
|
extends XmlResponseMessage {
|
|
private boolean sendCrc;
|
|
private boolean full;
|
|
private boolean depsOnly;
|
|
private String moduleName;
|
|
|
|
public String getMessageString() {
|
|
StringBuffer stringBuffer = new StringBuffer();
|
|
stringBuffer.append("moduleInfo?sendCrc=").append(this.sendCrc).append("&full=").append(this.full);
|
|
if (this.depsOnly) {
|
|
stringBuffer.append("&depsOnly=").append(this.depsOnly);
|
|
}
|
|
if (this.moduleName != null && this.moduleName.length() > 0) {
|
|
stringBuffer.append("&moduleName=").append(this.moduleName);
|
|
}
|
|
return stringBuffer.toString();
|
|
}
|
|
|
|
public GetModuleListMessage() {
|
|
this(false, false);
|
|
}
|
|
|
|
public GetModuleListMessage(boolean bl, boolean bl2) {
|
|
this(bl, bl2, false);
|
|
}
|
|
|
|
public GetModuleListMessage(boolean bl, boolean bl2, boolean bl3) {
|
|
this(bl, bl2, bl3, null);
|
|
}
|
|
|
|
public GetModuleListMessage(boolean bl, boolean bl2, boolean bl3, String string) {
|
|
this.sendCrc = bl;
|
|
this.full = bl2;
|
|
this.depsOnly = bl3;
|
|
this.moduleName = string;
|
|
}
|
|
}
|
|
|