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 restart()
          Execute restart (new version becomes active).
 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).

Parameters:
id - version Id.

restart

void restart()
Execute restart (new version becomes active).



Copyright © 2012. All Rights Reserved.