public interface Marathon
| Modifier and Type | Method and Description |
|---|---|
void |
cancelDeployment(String id) |
void |
cancelDeploymentAndRollback(String id) |
App |
createApp(App app) |
Result |
createGroup(Group group) |
Result |
deleteApp(String id) |
DeleteAppTaskResponse |
deleteAppTask(String appId,
String taskId,
String scale) |
DeleteAppTasksResponse |
deleteAppTasks(String appId,
String host,
String scale) |
Result |
deleteGroup(String id) |
GetAppResponse |
getApp(String id) |
GetAppsResponse |
getApps() |
GetAppTasksResponse |
getAppTasks(String id) |
List<Deployment> |
getDeployments() |
Group |
getGroup(String id) |
GetServerInfoResponse |
getServerInfo() |
GetTasksResponse |
getTasks() |
void |
restartApp(String id,
boolean force) |
void |
updateApp(String appId,
App app,
boolean force) |
GetAppsResponse getApps()
GetAppResponse getApp(String id) throws MarathonException
MarathonExceptionGetAppTasksResponse getAppTasks(String id)
GetTasksResponse getTasks()
App createApp(App app) throws MarathonException
MarathonExceptionvoid updateApp(String appId, App app, boolean force) throws MarathonException
MarathonExceptionvoid restartApp(String id, boolean force)
Result deleteApp(String id) throws MarathonException
MarathonExceptionDeleteAppTasksResponse deleteAppTasks(String appId, String host, String scale)
DeleteAppTaskResponse deleteAppTask(String appId, String taskId, String scale)
Result createGroup(Group group) throws MarathonException
MarathonExceptionResult deleteGroup(String id) throws MarathonException
MarathonExceptionGroup getGroup(String id) throws MarathonException
MarathonExceptionList<Deployment> getDeployments()
void cancelDeploymentAndRollback(String id)
void cancelDeployment(String id)
GetServerInfoResponse getServerInfo()
Copyright © 2015. All rights reserved.