Package org.jenkinsci.plugins.fodupload
Class PollingBuildStep
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.jenkinsci.plugins.fodupload.PollingBuildStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class PollingBuildStep extends Recorder implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollingBuildStep.PollingStepDescriptor
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
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
-
-
Constructor Summary
Constructors Constructor Description PollingBuildStep(String releaseId, String bsiToken, boolean overrideGlobalConfig, int pollingInterval, int policyFailureBuildResultPreference, String clientId, String clientSecret, String username, String personalAccessToken, String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBsiToken()
PollingBuildStep.PollingStepDescriptor
getDescriptor()
boolean
getOverrideGlobalConfig()
String
getPersonalAccessToken()
int
getPolicyFailureBuildResultPreference()
int
getPollingInterval()
String
getReleaseId()
BuildStepMonitor
getRequiredMonitorService()
String
getTenantId()
String
getUsername()
void
perform(Run<?,?> run, FilePath filePath, Launcher launcher, TaskListener taskListener)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
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, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
perform
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getReleaseId
public String getReleaseId()
-
getBsiToken
public String getBsiToken()
-
getPollingInterval
public int getPollingInterval()
-
getPolicyFailureBuildResultPreference
public int getPolicyFailureBuildResultPreference()
-
getUsername
public String getUsername()
-
getPersonalAccessToken
public String getPersonalAccessToken()
-
getTenantId
public String getTenantId()
-
getOverrideGlobalConfig
public boolean getOverrideGlobalConfig()
-
getDescriptor
public PollingBuildStep.PollingStepDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
-