com.zeroturnaround.liverebel.api
Interface CommandCenterUpdate

All Known Implementing Classes:
CommandCenterUpdateImpl

public interface CommandCenterUpdate

API for updating LiveRebel Command Center.

Author:
Rein Raudjärv

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.
 

Method Detail

getInfo

LiveRebelInfo getInfo()
Returns:
current info about LiveRebel versions.

upload

LiveRebelVersionInfo upload(File file)
Uploads new version archive.

Returns:
info about the uploaded version.

download

LiveRebelVersionInfo download(String id)
Downloads new version archive (throws error if there's are no new version to download).

Parameters:
id - version Id.
Returns:
info about the downloaded version.

remove

void remove(String id)
Removes the given version.

Parameters:
id - version Id.

execute

void execute(String id)
Executes the update (extract the archive). This updates only the Command Center.

Parameters:
id - version Id.

update

void update(String id)
Update LiveRebel and Agents to the given version. This method initalizes a two step process that will first update the Command Center and then when it comes back up, will automatically proceed with the second step, which is to update LiveRebel Agents.

Parameters:
id - version Id.


Copyright © 2012. All Rights Reserved.