public class MachineGroup extends Object implements Serializable
| Constructor and Description |
|---|
MachineGroup() |
MachineGroup(MachineGroup machineGroup)
construct a machine group
|
MachineGroup(String groupName,
String machineIdentifyType,
ArrayList<String> machineList)
Create machine group
|
| Modifier and Type | Method and Description |
|---|---|
void |
FromJsonObject(com.alibaba.fastjson.JSONObject dict) |
void |
FromJsonString(String machineGroupString) |
int |
GetCreateTime() |
String |
GetExternalName() |
GroupAttribute |
GetGroupAttribute()
get machine group attribute
|
String |
GetGroupName() |
String |
GetGroupTopic() |
String |
GetGroupType() |
int |
GetLastModifyTime() |
String |
GetMachineIdentifyType() |
ArrayList<String> |
GetMachineList() |
void |
SetCreateTime(int createTime) |
void |
SetExternalName(String externalName) |
void |
SetGroupAttribute(GroupAttribute groupAttribute)
Set machine group attribute
|
void |
SetGroupName(String groupName)
Set machine group name
|
void |
SetGroupTopic(String groupTopic) |
void |
SetGroupType(String groupType)
Set machine group type
|
void |
SetLastModifyTime(int lastModifyTime) |
void |
SetMachineIdentifyType(String machineIdentifyType) |
void |
SetMachineList(com.alibaba.fastjson.JSONArray machineListJSONArray) |
void |
SetMachineList(List<String> machineList) |
com.alibaba.fastjson.JSONObject |
ToJsonObject() |
String |
ToJsonString() |
String |
ToRequestString() |
protected String groupName
public MachineGroup()
public MachineGroup(String groupName, String machineIdentifyType, ArrayList<String> machineList)
groupName - machine group namemachineIdentifyType - the type of machine list, it only support "ip" and "userdefined"machineList - the machine ip list or userdefined id listpublic MachineGroup(MachineGroup machineGroup)
machineGroup - the exist machine grouppublic String GetGroupName()
public void SetGroupName(String groupName)
groupName - the machine group namepublic String GetGroupType()
public void SetGroupType(String groupType)
groupType - group typepublic GroupAttribute GetGroupAttribute()
public void SetGroupAttribute(GroupAttribute groupAttribute)
groupAttribute - machine group attributepublic String GetMachineIdentifyType()
public void SetMachineIdentifyType(String machineIdentifyType)
public void SetMachineList(com.alibaba.fastjson.JSONArray machineListJSONArray)
public int GetCreateTime()
public void SetCreateTime(int createTime)
public int GetLastModifyTime()
public void SetLastModifyTime(int lastModifyTime)
public String GetExternalName()
public void SetExternalName(String externalName)
public String GetGroupTopic()
public void SetGroupTopic(String groupTopic)
public String ToRequestString()
public com.alibaba.fastjson.JSONObject ToJsonObject()
public String ToJsonString()
public void FromJsonObject(com.alibaba.fastjson.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String machineGroupString) throws LogException
LogExceptionCopyright © 2025. All Rights Reserved.