| Package | Description |
|---|---|
| com.mesosphere.velocity.marathon.impl | |
| com.mesosphere.velocity.marathon.interfaces |
| Modifier and Type | Class and Description |
|---|---|
class |
MarathonBuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
MarathonBuilder |
MarathonBuilderImpl.build() |
MarathonBuilder |
MarathonBuilderImpl.read() |
MarathonBuilder |
MarathonBuilderImpl.read(String filename) |
MarathonBuilder |
MarathonBuilderImpl.setConfig(AppConfig config) |
MarathonBuilder |
MarathonBuilderImpl.setEnvVars(hudson.EnvVars vars) |
MarathonBuilder |
MarathonBuilderImpl.setJson(net.sf.json.JSONObject json) |
MarathonBuilder |
MarathonBuilderImpl.setWorkspace(hudson.FilePath ws) |
MarathonBuilder |
MarathonBuilderImpl.toFile() |
MarathonBuilder |
MarathonBuilderImpl.toFile(String filename) |
MarathonBuilder |
MarathonBuilderImpl.update()
Perform the actual update call to Marathon.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MarathonBuilder |
MarathonBuilder.build()
Compose the builder.
|
static MarathonBuilder |
MarathonBuilder.getBuilder(AppConfig config)
Create a new builder instance from config.
|
abstract MarathonBuilder |
MarathonBuilder.read()
Read in default file (marathon.json) as JSON.
|
abstract MarathonBuilder |
MarathonBuilder.read(String filename)
Read in filename as JSON.
|
abstract MarathonBuilder |
MarathonBuilder.setConfig(AppConfig config)
Set the Application Configuration to config.
|
abstract MarathonBuilder |
MarathonBuilder.setEnvVars(hudson.EnvVars vars)
Set the Jenkins Environment Variables to vars.
|
abstract MarathonBuilder |
MarathonBuilder.setJson(net.sf.json.JSONObject json)
Set the JSON for this builder to json.
|
abstract MarathonBuilder |
MarathonBuilder.setWorkspace(hudson.FilePath ws)
Set the Jenkins workspace to ws.
|
abstract MarathonBuilder |
MarathonBuilder.toFile()
Write the JSON that will be sent to the target Marathon instance to the default file
(marathon-rendered-${BUILD_NUMBER}.json).
|
abstract MarathonBuilder |
MarathonBuilder.toFile(String filename)
Write the JSON that will be sent to the target Marathon instance to filename.
|
abstract MarathonBuilder |
MarathonBuilder.update()
Update the Marathon application.
|
Copyright © 2016. All rights reserved.