Package io.split.jenkins.plugins
Class SplitPluginBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- io.split.jenkins.plugins.SplitPluginBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class SplitPluginBuilder extends Builder implements SimpleBuildStep
Class implementing Jenkins plugin builder and descriptor- Author:
- Bilal Al-Shshany
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SplitPluginBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEnvironmentName()
String
getFeatureFlagDefinitions()
String
getFeatureFlagName()
String
getFeatureFlagYAMLFile()
String
getSplitTask()
String
getTargetlistKey()
String
getTrafficTypeName()
String
getTreatmentName()
String
getWorkspaceName()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
void
setAdminBaseURL(String adminBaseURL)
void
setApiKey(Secret splitApiKey)
void
setFeatureFlagYAMLFileFullPath(String filePath)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
-
-
-
Method Detail
-
getTrafficTypeName
public String getTrafficTypeName()
-
getFeatureFlagYAMLFile
public String getFeatureFlagYAMLFile()
-
getTreatmentName
public String getTreatmentName()
-
getTargetlistKey
public String getTargetlistKey()
-
getFeatureFlagDefinitions
public String getFeatureFlagDefinitions()
-
getFeatureFlagName
public String getFeatureFlagName()
-
getEnvironmentName
public String getEnvironmentName()
-
getWorkspaceName
public String getWorkspaceName()
-
getSplitTask
public String getSplitTask()
-
setApiKey
public void setApiKey(Secret splitApiKey)
-
setAdminBaseURL
public void setAdminBaseURL(String adminBaseURL)
-
setFeatureFlagYAMLFileFullPath
public void setFeatureFlagYAMLFileFullPath(String filePath)
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
-