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 class
DashboardBuilder.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 boolean
addColumns
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildJob()
String
getBuildNumber()
String
getComponentName()
List<ListItem>
getData()
DashboardBuilder.DescriptorImpl
getDescriptor()
String
getNameOfEnv()
String
getPackageName()
void
setUp(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:
setUp
in classSimpleBuildWrapper
- Throws:
IOException
InterruptedException
-
getDescriptor
public DashboardBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<BuildWrapper>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<BuildWrapper>
-
-