Package com.fortify.plugin.jenkins.steps
Class FortifyUpdate
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- com.fortify.plugin.jenkins.steps.FortifyStep
-
- com.fortify.plugin.jenkins.steps.FortifyUpdate
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,BuildStep
,SimpleBuildStep
public class FortifyUpdate extends FortifyStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FortifyUpdate.Builder
static class
FortifyUpdate.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 class com.fortify.plugin.jenkins.steps.FortifyStep
lastBuild, VERSION
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description FortifyUpdate(String updateServerURL, String locale)
FortifyUpdate(String updateServerURL, String proxyURL, String proxyUsername, String proxyPassword, boolean useProxy)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
getAcceptKey()
String
getLocale()
String
getProxyPassword()
Deprecated.String
getProxyURL()
Deprecated.String
getProxyUsername()
Deprecated.String
getResolvedLocale(TaskListener listener)
String
getResolvedUpdateProxyPassword(TaskListener listener)
Deprecated.String
getResolvedUpdateProxyURL(TaskListener listener)
Deprecated.String
getResolvedUpdateProxyUsername(TaskListener listener)
Deprecated.String
getResolvedUpdateServerURL(TaskListener listener)
String
getUpdateServerURL()
boolean
getUseProxy()
Deprecated.void
perform(Run<?,?> build, FilePath workspace, EnvVars vars, Launcher launcher, TaskListener listener)
void
setAcceptKey(boolean accpeptKey)
void
setLocale(String locale)
void
setProxyPassword(String proxyPassword)
Deprecated.void
setProxyURL(String proxyURL)
Deprecated.void
setProxyUsername(String proxyUsername)
Deprecated.void
setUpdateServerURL(String updateServerURL)
void
setUseProxy(boolean useProxy)
Deprecated.org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Methods inherited from class com.fortify.plugin.jenkins.steps.FortifyStep
addAllArguments, addAllArguments, addAllArgumentsWithNoMasks, getExecutable, getProjectAction, getProjectActions, perform, prebuild, resolve, setLastBuild
-
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
getRequiredMonitorService
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getUpdateServerURL
public String getUpdateServerURL()
-
getLocale
public String getLocale()
-
setAcceptKey
@DataBoundSetter public void setAcceptKey(boolean accpeptKey)
-
getAcceptKey
public boolean getAcceptKey()
-
getProxyURL
@Deprecated public String getProxyURL()
Deprecated.
-
getProxyUsername
@Deprecated public String getProxyUsername()
Deprecated.
-
getProxyPassword
@Deprecated public String getProxyPassword()
Deprecated.
-
getUseProxy
@Deprecated public boolean getUseProxy()
Deprecated.
-
setUpdateServerURL
@DataBoundSetter public void setUpdateServerURL(String updateServerURL)
-
setLocale
@DataBoundSetter public void setLocale(String locale)
-
setProxyURL
@DataBoundSetter @Deprecated public void setProxyURL(String proxyURL)
Deprecated.
-
setProxyUsername
@DataBoundSetter @Deprecated public void setProxyUsername(String proxyUsername)
Deprecated.
-
setProxyPassword
@DataBoundSetter @Deprecated public void setProxyPassword(String proxyPassword)
Deprecated.
-
setUseProxy
@DataBoundSetter @Deprecated public void setUseProxy(boolean useProxy)
Deprecated.
-
getResolvedUpdateServerURL
public String getResolvedUpdateServerURL(TaskListener listener)
-
getResolvedLocale
public String getResolvedLocale(TaskListener listener)
-
getResolvedUpdateProxyURL
@Deprecated public String getResolvedUpdateProxyURL(TaskListener listener)
Deprecated.
-
getResolvedUpdateProxyUsername
@Deprecated public String getResolvedUpdateProxyUsername(TaskListener listener)
Deprecated.
-
getResolvedUpdateProxyPassword
@Deprecated public String getResolvedUpdateProxyPassword(TaskListener listener)
Deprecated.
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
- Overrides:
start
in classFortifyStep
- Throws:
Exception
-
perform
public void perform(Run<?,?> build, FilePath workspace, EnvVars vars, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
-