public class ValidatePackagesBuilder
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
ValidatePackagesBuilder.DescriptorImpl |
Constructor and Description |
---|
ValidatePackagesBuilder(String packageIdFilters,
String localDirectory,
String validationFilter,
boolean allowNonCoveredRoots,
String forbiddenExtensions,
String forbiddenACHandlingModeSet,
String forbiddenFilterRootPrefixes,
String pathsDeniedForInclusion) |
Modifier and Type | Method and Description |
---|---|
ValidatePackagesBuilder.DescriptorImpl |
getDescriptor() |
List<net.adamcin.granite.client.packman.ACHandling> |
getForbiddenACHandlingModes() |
String |
getForbiddenACHandlingModeSet() |
String |
getForbiddenExtensions() |
String |
getForbiddenExtensions(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
String |
getForbiddenFilterRootPrefixes() |
String |
getForbiddenFilterRootPrefixes(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
String |
getLocalDirectory() |
String |
getPackageIdFilters() |
String |
getPackageIdFilters(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
String |
getPathsDeniedForInclusion() |
String |
getPathsDeniedForInclusion(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
String |
getValidationFilter() |
String |
getValidationFilter(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
boolean |
isAllowNonCoveredRoots() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setAllowNonCoveredRoots(boolean allowNonCoveredRoots) |
void |
setForbiddenACHandlingModeSet(String forbiddenACHandlingModeSet) |
void |
setForbiddenExtensions(String forbiddenExtensions) |
void |
setForbiddenFilterRootPrefixes(String forbiddenFilterRootPrefixes) |
void |
setLocalDirectory(String localDirectory) |
void |
setPackageIdFilters(String packageIdFilters) |
void |
setPathsDeniedForInclusion(String pathsDeniedForInclusion) |
void |
setValidationFilter(String validationFilter) |
@DataBoundConstructor public ValidatePackagesBuilder(String packageIdFilters, String localDirectory, String validationFilter, boolean allowNonCoveredRoots, String forbiddenExtensions, String forbiddenACHandlingModeSet, String forbiddenFilterRootPrefixes, String pathsDeniedForInclusion)
public String getPackageIdFilters()
public void setPackageIdFilters(String packageIdFilters)
public String getLocalDirectory()
public void setLocalDirectory(String localDirectory)
public String getValidationFilter()
public void setValidationFilter(String validationFilter)
public boolean isAllowNonCoveredRoots()
public void setAllowNonCoveredRoots(boolean allowNonCoveredRoots)
public String getForbiddenExtensions()
public void setForbiddenExtensions(String forbiddenExtensions)
public String getForbiddenACHandlingModeSet()
public void setForbiddenACHandlingModeSet(String forbiddenACHandlingModeSet)
public String getForbiddenFilterRootPrefixes()
public void setForbiddenFilterRootPrefixes(String forbiddenFilterRootPrefixes)
public String getPathsDeniedForInclusion()
public void setPathsDeniedForInclusion(String pathsDeniedForInclusion)
public String getValidationFilter(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public String getForbiddenExtensions(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public String getPathsDeniedForInclusion(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public String getForbiddenFilterRootPrefixes(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public List<net.adamcin.granite.client.packman.ACHandling> getForbiddenACHandlingModes()
public String getPackageIdFilters(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws Exception
Exception
public ValidatePackagesBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
Copyright © 2013–2017. All rights reserved.