public class ModelUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static CheckResult |
check(InstanceModel instance) |
static CheckResult |
check(ServerModel server) |
static InstanceModel |
newInstance(InstanceKey instanceKey,
String operation,
String operatorId,
String token) |
static InstanceModel |
newInstance(String regionId,
String serviceId,
String instanceId,
String operation,
String operatorId,
String token) |
static ServerModel |
newServer(ServerKey serverKey,
String operation,
String operatorId,
String token) |
static ServerModel |
newServer(String regionId,
String serverId,
String operation,
String operatorId,
String token) |
public static CheckResult check(InstanceModel instance)
public static CheckResult check(ServerModel server)
public static InstanceModel newInstance(InstanceKey instanceKey, String operation, String operatorId, String token)
public static InstanceModel newInstance(String regionId, String serviceId, String instanceId, String operation, String operatorId, String token)
public static ServerModel newServer(ServerKey serverKey, String operation, String operatorId, String token)
Copyright © 2020 org.mydotey. All rights reserved.