Package com.fortify.plugin.jenkins.steps
Class FortifyTranslate
- 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.FortifySCAStep
-
- com.fortify.plugin.jenkins.steps.FortifyTranslate
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,BuildStep
,SimpleBuildStep
public class FortifyTranslate extends FortifySCAStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FortifyTranslate.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.FortifySCAStep
addJVMOptions, buildID, debug, logFile, maxHeap, verbose
-
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 FortifyTranslate(String buildID, ProjectScanType projectScanType)
-
Method Summary
-
Methods inherited from class com.fortify.plugin.jenkins.steps.FortifySCAStep
getAddJVMOptions, getBuildID, getDebug, getDevenvExecutable, getGradleExecutable, getLogFile, getMavenExecutable, getMaxHeap, getMSBuildExecutable, getResolvedAddJVMOptions, getResolvedBuildID, getResolvedLogFile, getResolvedMaxHeap, getSourceAnalyzerExecutable, getVerbose, setAddJVMOptions, setDebug, setLogFile, setMaxHeap, setVerbose
-
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
-
-
-
-
Constructor Detail
-
FortifyTranslate
@DataBoundConstructor public FortifyTranslate(String buildID, ProjectScanType projectScanType)
-
-
Method Detail
-
setCurrentNode
public void setCurrentNode(Node node)
-
getProjectScanType
public ProjectScanType getProjectScanType()
-
setJavaVersion
public void setJavaVersion(String javaVersion)
-
setJavaClasspath
public void setJavaClasspath(String javaClasspath)
-
setJavaSrcFiles
public void setJavaSrcFiles(String javaSrcFiles)
-
setJavaAddOptions
public void setJavaAddOptions(String javaAddOptions)
-
setDotnetProject
public void setDotnetProject(String dotnetProject)
-
setDotnetAddOptions
public void setDotnetAddOptions(String dotnetAddOptions)
-
setDotnetFrameworkVersion
public void setDotnetFrameworkVersion(String dotnetFrameworkVersion)
-
setDotnetLibdirs
public void setDotnetLibdirs(String dotnetLibdirs)
-
setDotnetSrcFiles
public void setDotnetSrcFiles(String dotnetSrcFiles)
-
setMavenOptions
public void setMavenOptions(String mavenOptions)
-
setMavenName
public void setMavenName(String mName)
-
setUseWrapper
public void setUseWrapper(boolean useWrapper)
-
setGradleTasks
public void setGradleTasks(String gradleTasks)
-
setGradleOptions
public void setGradleOptions(String gradleOptions)
-
setOtherOptions
public void setOtherOptions(String otherOptions)
-
setOtherIncludesList
public void setOtherIncludesList(String otherIncludesList)
-
setAdvOptions
public void setAdvOptions(String advOptions)
-
getExcludeList
public String getExcludeList()
-
setExcludeList
@DataBoundSetter public void setExcludeList(String excludeList)
-
getResolvedJavaClasspath
public String getResolvedJavaClasspath(JavaScanType javaType, TaskListener listener)
-
getResolvedJavaSrcFiles
public String getResolvedJavaSrcFiles(JavaScanType javaType, TaskListener listener)
-
getResolvedJavaAddOptions
public String getResolvedJavaAddOptions(JavaScanType javaType, TaskListener listener)
-
getResolvedDotnetProjects
public String getResolvedDotnetProjects(ProjectScanType projectScanType, TaskListener listener)
-
getResolvedDotnetAddOptions
public String getResolvedDotnetAddOptions(ProjectScanType projectScanType, TaskListener listener)
-
getResolvedDotnetFrameworkVersion
public String getResolvedDotnetFrameworkVersion(DotnetSourceScanType dotnetSrcType, TaskListener listener)
-
getResolvedDotnetLibdirs
public String getResolvedDotnetLibdirs(DotnetSourceScanType dotnetSrcType, TaskListener listener)
-
getResolvedDotnetSrcFiles
public String getResolvedDotnetSrcFiles(DotnetSourceScanType dotnetSrcType, TaskListener listener)
-
getResolvedMavenOptions
public String getResolvedMavenOptions(MavenScanType mavenType, TaskListener listener)
-
getResolvedGradleTasks
public String getResolvedGradleTasks(GradleScanType gradleType, TaskListener listener)
-
getResolvedGradleOptions
public String getResolvedGradleOptions(GradleScanType gradleType, TaskListener listener)
-
getResolvedOtherOptions
public String getResolvedOtherOptions(OtherScanType otherType, TaskListener listener)
-
getResolvedOtherIncludesList
public String getResolvedOtherIncludesList(OtherScanType otherType, TaskListener listener)
-
getResolvedTranslationExcludeList
public String getResolvedTranslationExcludeList(TaskListener listener)
-
getResolvedAdvOptions
public String getResolvedAdvOptions(AdvancedScanType advType, TaskListener listener)
-
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
-
-