Class DashboardBuilder
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.tasks.SimpleBuildWrapper
-
- org.jenkinsci.plugins.environmentdashboard.DashboardBuilder
-
- All Implemented Interfaces:
ExtensionPoint,Describable<BuildWrapper>,Serializable
public class DashboardBuilder extends SimpleBuildWrapper implements Serializable
Class to create Dashboard view. author vipin date 15/10/2014- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDashboardBuilder.DescriptorImpl-
Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.Disposer
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description booleanaddColumns
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBuildJob()StringgetBuildNumber()StringgetComponentName()List<ListItem>getData()DashboardBuilder.DescriptorImplgetDescriptor()StringgetNameOfEnv()StringgetPackageName()voidsetUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)-
Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, runPreCheckout, setUp
-
Methods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
-
-
-
-
Method Detail
-
getNameOfEnv
public String getNameOfEnv()
-
getComponentName
public String getComponentName()
-
getBuildNumber
public String getBuildNumber()
-
getBuildJob
public String getBuildJob()
-
getPackageName
public String getPackageName()
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException
- Specified by:
setUpin classSimpleBuildWrapper- Throws:
IOExceptionInterruptedException
-
getDescriptor
public DashboardBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptorin interfaceDescribable<BuildWrapper>- Overrides:
getDescriptorin classAbstractDescribableImpl<BuildWrapper>
-
-