Package com.crowdstrike.plugins.crwds
Class CrowdStrikeSecurityBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.crowdstrike.plugins.crwds.CrowdStrikeSecurityBuilder
- All Implemented Interfaces:
FalconConfiguration
,ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class CrowdStrikeSecurityBuilder
extends Builder
implements SimpleBuildStep, FalconConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
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
ConstructorDescriptionCrowdStrikeSecurityBuilder
(String imageName, String imageTag, boolean enforce, boolean skipImageUpload, Integer timeout) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
getValueOfNonCompliance
(boolean currentState) void
void
setEnforce
(boolean enforce) void
setImageName
(String imageName) void
setImageTag
(String imageTag) void
setSkipImageUpload
(boolean skipImageUpload) void
setTimeout
(Integer timeout) Methods inherited from class hudson.tasks.Builder
all, 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
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
CrowdStrikeSecurityBuilder
-
-
Method Details
-
getEnforce
public boolean getEnforce()- Specified by:
getEnforce
in interfaceFalconConfiguration
-
getSkipImageUpload
public boolean getSkipImageUpload()- Specified by:
getSkipImageUpload
in interfaceFalconConfiguration
-
getImageName
- Specified by:
getImageName
in interfaceFalconConfiguration
-
getImageTag
- Specified by:
getImageTag
in interfaceFalconConfiguration
-
getTimeout
- Specified by:
getTimeout
in interfaceFalconConfiguration
-
setImageName
-
setImageTag
-
setEnforce
@DataBoundSetter public void setEnforce(boolean enforce) -
setSkipImageUpload
@DataBoundSetter public void setSkipImageUpload(boolean skipImageUpload) -
setTimeout
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
getFalconCloud
- Specified by:
getFalconCloud
in interfaceFalconConfiguration
-
getFalconCredentialId
- Specified by:
getFalconCredentialId
in interfaceFalconConfiguration
-
getValueOfNonCompliance
public boolean getValueOfNonCompliance(boolean currentState) -
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) throws IOException, InterruptedException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
IOException
InterruptedException
-