|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zeroturnaround.liverebel.api.impl.CommandCenterUpdateImpl
public class CommandCenterUpdateImpl
| Field Summary | |
|---|---|
protected RestConnection |
con
|
protected JsonParser |
parser
|
| Constructor Summary | |
|---|---|
CommandCenterUpdateImpl(RestConnection con,
JsonParser parser)
|
|
| Method Summary | |
|---|---|
LiveRebelVersionInfo |
download(String id)
Downloads new version archive (throws error if there's are no new version to download). |
void |
execute(String id)
Executes the update (extract the archive). |
LiveRebelInfo |
getInfo()
|
void |
remove(String id)
Removes the given version. |
void |
update(String id)
Update LiveRebel and Agents to the given version. |
LiveRebelVersionInfo |
upload(File file)
Uploads new version archive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final RestConnection con
protected final JsonParser parser
| Constructor Detail |
|---|
public CommandCenterUpdateImpl(RestConnection con,
JsonParser parser)
| Method Detail |
|---|
public LiveRebelInfo getInfo()
getInfo in interface CommandCenterUpdatepublic LiveRebelVersionInfo upload(File file)
CommandCenterUpdate
upload in interface CommandCenterUpdatepublic LiveRebelVersionInfo download(String id)
CommandCenterUpdate
download in interface CommandCenterUpdateid - version Id.
public void remove(String id)
CommandCenterUpdate
remove in interface CommandCenterUpdateid - version Id.public void execute(String id)
CommandCenterUpdate
execute in interface CommandCenterUpdateid - version Id.public void update(String id)
CommandCenterUpdate
update in interface CommandCenterUpdateid - version Id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||