public class AgentUpdateImpl extends Object implements AgentUpdate
| Modifier and Type | Field and Description |
|---|---|
protected RestConnection |
con |
protected JsonParser |
parser |
| Constructor and Description |
|---|
AgentUpdateImpl(RestConnection con,
JsonParser parser) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute this update and wait until it's finished.
|
AgentUpdate |
on(Collection<String> serverIds)
Change the LiveRebel Agent version only on the given servers.
|
AgentUpdate |
on(String serverId)
Change the LiveRebel Agent version only on the given server.
|
protected final RestConnection con
protected final JsonParser parser
public AgentUpdateImpl(RestConnection con, JsonParser parser)
public AgentUpdate on(String serverId)
AgentUpdateon in interface AgentUpdateserverId - server Id.public AgentUpdate on(Collection<String> serverIds)
AgentUpdateon in interface AgentUpdateserverIds - server Ids.public void execute()
AgentUpdateexecute in interface AgentUpdateCopyright © 2012. All Rights Reserved.