public class BuildContext<B extends hudson.model.AbstractBuild<?,?>> extends BuildLogger
CASCADE_PROJECT_ICON, CASCADE_PROJECT_NAME, CASCADE_PROJECT_PRONOUN, LAYOUT_ACTION_ICON, LAYOUT_ACTION_NAME, LAYOUT_ACTION_URL, LOGGER_PREFIX, MEMBER_ACTION_ICON, MEMBER_ACTION_NAME, MEMBER_ACTION_URL, MEMBER_GRAPH_NAME, MEMBER_VIEW_ICON, MEMBER_VIEW_NAME, MEMBER_VIEW_URL, PLUGIN_HELP, PLUGIN_ICON, PLUGIN_ID, PLUGIN_IMAGES, PLUGIN_IMAGES_16, PLUGIN_IMAGES_24, PLUGIN_IMAGES_32, PLUGIN_IMAGES_48, PLUGIN_NAME, PLUGIN_URL
Constructor and Description |
---|
BuildContext(hudson.model.AbstractBuild.AbstractBuildExecution execution) |
BuildContext(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
Modifier and Type | Method and Description |
---|---|
B |
build()
Context build.
|
CascadeOptions |
cascadeOptions()
Extract cascade options from layout build wrapper.
|
ProjectIdentity |
identity()
Project identity of the context build.
|
hudson.Launcher |
launcher()
Context launcher.
|
LayoutOptions |
layoutOptions()
Extract layout options from layout build wrapper.
|
hudson.maven.MavenModuleSet |
layoutProject()
Find layout project form any cascade family project.
|
BuildLogger |
logger()
Remote-friendly logger for the same context.
|
public BuildContext(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
public BuildContext(hudson.model.AbstractBuild.AbstractBuildExecution execution)
public B build()
public CascadeOptions cascadeOptions()
public ProjectIdentity identity()
public hudson.Launcher launcher()
public LayoutOptions layoutOptions()
public hudson.maven.MavenModuleSet layoutProject()
public BuildLogger logger()
Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.