
public class ConfigExportJsonPacket extends JsonPacket
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alias |
protected boolean |
business |
protected boolean |
host |
protected boolean |
roles |
protected boolean |
rule |
| Constructor and Description |
|---|
ConfigExportJsonPacket() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonPacket other)
Set from other Json
|
boolean |
isAlias() |
boolean |
isBusiness() |
boolean |
isHost() |
boolean |
isRoles() |
boolean |
isRule() |
void |
setAlias(boolean alias) |
void |
setBusiness(boolean business) |
void |
setHost(boolean host) |
void |
setRequestUserPacket()
Default value to set
|
void |
setRoles(boolean roles) |
void |
setRule(boolean rule) |
createFromBuffer, createObjectNode, getComment, getRequestUserPacket, setComment, setRequestUserPacket, toStringprotected boolean host
protected boolean rule
protected boolean business
protected boolean alias
protected boolean roles
public boolean isHost()
public void setHost(boolean host)
host - the host to setpublic boolean isRule()
public void setRule(boolean rule)
rule - the rule to setpublic boolean isBusiness()
public void setBusiness(boolean business)
business - the business to setpublic boolean isAlias()
public void setAlias(boolean alias)
alias - the alias to setpublic boolean isRoles()
public void setRoles(boolean roles)
roles - the roles to setpublic void fromJson(JsonPacket other)
JsonPacketfromJson in class JsonPacketpublic void setRequestUserPacket()
JsonPacketsetRequestUserPacket in class JsonPacketCopyright © 2009–2020 Waarp. All rights reserved.