com.zeroturnaround.liverebel.api.impl
Class AgentUpdateImpl
java.lang.Object
com.zeroturnaround.liverebel.api.impl.AgentUpdateImpl
- All Implemented Interfaces:
- AgentUpdate
public class AgentUpdateImpl
- extends Object
- implements AgentUpdate
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
con
protected final RestConnection con
parser
protected final JsonParser parser
AgentUpdateImpl
public AgentUpdateImpl(RestConnection con,
JsonParser parser)
on
public AgentUpdate on(String serverId)
- Description copied from interface:
AgentUpdate
- Change the LiveRebel Agent version only on the given server.
- Specified by:
on in interface AgentUpdate
- Parameters:
serverId - server Id.
on
public AgentUpdate on(Collection<String> serverIds)
- Description copied from interface:
AgentUpdate
- Change the LiveRebel Agent version only on the given servers.
- Specified by:
on in interface AgentUpdate
- Parameters:
serverIds - server Ids.
execute
public void execute()
- Description copied from interface:
AgentUpdate
- Execute this update and wait until it's finished.
- Specified by:
execute in interface AgentUpdate
Copyright © 2012. All Rights Reserved.