public class DeploymentInfo extends Object
| Constructor and Description |
|---|
DeploymentInfo(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
PrintStream logger,
CloudFoundryPushPublisher.ManifestChoice optionalJenkinsConfig,
String jenkinsBuildName,
String defaultDomain)
Constructor for reading the optional Jenkins config.
|
DeploymentInfo(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
PrintStream logger,
Map<String,Object> appInfo,
String jenkinsBuildName,
String defaultDomain,
String manifestPath)
Constructor for reading the manifest.yml file.
|
DeploymentInfo(PrintStream logger,
CloudFoundryPushPublisher.ManifestChoice optionalJenkinsConfig,
String jenkinsBuildName,
String defaultDomain)
Constructor for reading the optional Jenkins config.
|
DeploymentInfo(PrintStream logger,
Map<String,Object> appInfo,
String jenkinsBuildName,
String defaultDomain,
String manifestPath)
Constructor for reading the manifest.yml file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
String |
getAppPath() |
String |
getBuildpack() |
String |
getCommand() |
String |
getDomain() |
Map<String,String> |
getEnvVars() |
String |
getHostname() |
int |
getInstances() |
int |
getMemory() |
List<String> |
getServicesNames() |
String |
getStack() |
int |
getTimeout() |
boolean |
isNoRoute() |
public DeploymentInfo(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
PrintStream logger,
Map<String,Object> appInfo,
String jenkinsBuildName,
String defaultDomain,
String manifestPath)
throws IOException,
ManifestParsingException,
InterruptedException,
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
build - the buildlistener - the listenerlogger - the build loggerappInfo - the app infojenkinsBuildName - the build namedefaultDomain - the domainmanifestPath - the manifest pathIOException - if the manfiest cannot be readManifestParsingException - if the manifest cannot be parsedInterruptedException - if blocking calls are interruptedorg.jenkinsci.plugins.tokenmacro.MacroEvaluationException - if token macros fail to evaluatepublic DeploymentInfo(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
PrintStream logger,
CloudFoundryPushPublisher.ManifestChoice optionalJenkinsConfig,
String jenkinsBuildName,
String defaultDomain)
throws IOException,
ManifestParsingException,
InterruptedException,
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
build - the buildlistener - the build listenerlogger - the loggeroptionalJenkinsConfig - optional manifest configurationjenkinsBuildName - the job namedefaultDomain - the default domainIOException - if the manfiest cannot be readManifestParsingException - if the manifest cannot be parsedInterruptedException - if blocking calls are interruptedorg.jenkinsci.plugins.tokenmacro.MacroEvaluationException - if token macros fail to evaluatepublic DeploymentInfo(PrintStream logger, Map<String,Object> appInfo, String jenkinsBuildName, String defaultDomain, String manifestPath) throws IOException, ManifestParsingException, InterruptedException, org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
logger - the loggerappInfo - the app infojenkinsBuildName - the job namedefaultDomain - the default domainmanifestPath - path to the manifest fileIOException - if the manfiest cannot be readManifestParsingException - if the manifest cannot be parsedInterruptedException - if blocking calls are interruptedorg.jenkinsci.plugins.tokenmacro.MacroEvaluationException - if token macros fail to evaluatepublic DeploymentInfo(PrintStream logger, CloudFoundryPushPublisher.ManifestChoice optionalJenkinsConfig, String jenkinsBuildName, String defaultDomain) throws IOException, ManifestParsingException, InterruptedException, org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
logger - the job loggeroptionalJenkinsConfig - the jenkins configjenkinsBuildName - the build namedefaultDomain - the domainIOException - if the manfiest cannot be readManifestParsingException - if the manifest cannot be parsedInterruptedException - if blocking calls are interruptedorg.jenkinsci.plugins.tokenmacro.MacroEvaluationException - if token macros fail to evaluatepublic String getAppName()
public int getMemory()
public String getHostname()
public int getInstances()
public String getStack()
public int getTimeout()
public boolean isNoRoute()
public String getAppPath()
public String getBuildpack()
public String getCommand()
public String getDomain()
Copyright © 2016–2017. All rights reserved.