public interface AppTransferService
Modifier and Type | Method and Description |
---|---|
void |
cleanup(String appId)
Cleanup the application on a team member given the id.
|
void |
disable(String appId)
Disable the application on a team member with the given id.
|
void |
enable(String appId)
Enable the application on a team member with the given id.
|
InputStream |
getAppZip(SystemInformation system,
Application app)
Get an application zip file from a team member.
|
void |
install(String appId)
Install an uploaded application on a team member given the id.
|
List<Application> |
listApplications(SystemInformation system)
List all applications on a team member.
|
void |
uninstall(String appId)
Un-install an application on a team member given the id.
|
void |
upgrade(String appId)
Upgrade the application on a team member given the id.
|
void |
upload(Path appPath)
Upload an application archive (zip file) to a team member.
|
void upload(Path appPath)
appPath
- the application pathvoid install(String appId)
appId
- unique id of the applicationvoid upgrade(String appId)
appId
- unique id of the applicationvoid cleanup(String appId)
appId
- unique id of the applicationvoid uninstall(String appId)
appId
- unique id of the applicationvoid disable(String appId)
appId
- unique id of the applicationvoid enable(String appId)
appId
- unique id of the applicationList<Application> listApplications(SystemInformation system)
system
- the team member to contactInputStream getAppZip(SystemInformation system, Application app) throws IOException
system
- system to get the applications fromapp
- the applicationIOException
- if errors occur while transferring the fileCopyright © 2016. All Rights Reserved.