@Extension public class LayoutBuildWrapper extends hudson.tasks.BuildWrapper implements PluginConstants
Maven build wrapper for cascade layout management.
Validates maven build and updates cascade member projects.
Modifier and Type | Class and Description |
---|---|
static class |
LayoutBuildWrapper.TheDescriptor |
Modifier and Type | Field and Description |
---|---|
static Logger |
log |
static LayoutBuildWrapper.TheDescriptor |
META |
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 |
---|
LayoutBuildWrapper()
Required for injection.
|
LayoutBuildWrapper(CascadeOptions cascadeOptions,
LayoutOptions layoutOptions,
String projectName) |
Modifier and Type | Method and Description |
---|---|
CascadeOptions |
getCascadeOptions() |
LayoutBuildWrapper.TheDescriptor |
getDescriptor() |
LayoutOptions |
getLayoutOptions() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject project) |
static boolean |
hasWrapper(hudson.maven.MavenModuleSet project) |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
static String |
validateConfig(String projectName)
Validate project configuration against cascade assumptions.
|
static LayoutBuildWrapper |
wrapper(hudson.maven.MavenModuleSet project) |
public static final Logger log
@Extension public static final LayoutBuildWrapper.TheDescriptor META
public LayoutBuildWrapper()
@DataBoundConstructor public LayoutBuildWrapper(CascadeOptions cascadeOptions, LayoutOptions layoutOptions, String projectName)
public static boolean hasWrapper(hudson.maven.MavenModuleSet project)
public static String validateConfig(String projectName)
public static LayoutBuildWrapper wrapper(hudson.maven.MavenModuleSet project)
public CascadeOptions getCascadeOptions()
public LayoutBuildWrapper.TheDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
getDescriptor
in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
public LayoutOptions getLayoutOptions()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject project)
getProjectAction
in class hudson.tasks.BuildWrapper
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException
setUp
in class hudson.tasks.BuildWrapper
IOException
Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.