Class AbstractFileCompressStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStep
org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileCompressStep
- All Implemented Interfaces:
- ExtensionPoint,- Describable<org.jenkinsci.plugins.workflow.steps.Step>
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetDir()The relative path of the base directory to create the archive from.Ant style pattern of files to exclude from the archive.getGlob()Ant style pattern of files to include in the archive.booleanIf the archive file should be archived as an artifact of the current build.booleanThe defaultExcludes of ant java pattern.booleanIf the archive file should be overwritten in case of already existing a file with the same name.voidsetArchive(boolean archive) If the archive file should be archived as an artifact of the current build.voidsetDefaultExcludes(boolean defaultExcludes) The defaultExcludes of ant java pattern.voidThe relative path of the base directory to create the archive from.voidsetExclude(String exclude) Ant style pattern of files to exclude in the archive.voidAnt style pattern of files to include in the archive.voidsetOverwrite(boolean overwrite) If the archive file should be overwritten in case of already existing a file with the same name.Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStepgetFile, setFileMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor, start
- 
Constructor Details- 
AbstractFileCompressSteppublic AbstractFileCompressStep()
 
- 
- 
Method Details- 
getDirThe relative path of the base directory to create the archive from. Leave empty to create from the current working directory.- Returns:
- the dir
 
- 
setDirThe relative path of the base directory to create the archive from. Leave empty to create from the current working directory.- Parameters:
- dir- the dir
 
- 
getGlobAnt style pattern of files to include in the archive. Leave empty to include all files and directories.- Returns:
- the include pattern
 
- 
setGlobAnt style pattern of files to include in the archive. Leave empty to include all files and directories.- Parameters:
- glob- the include pattern
 
- 
getExcludeAnt style pattern of files to exclude from the archive.- Returns:
- the exclude pattern
 
- 
setExcludeAnt style pattern of files to exclude in the archive.- Parameters:
- exclude- the exclude pattern
 
- 
isArchivepublic boolean isArchive()If the archive file should be archived as an artifact of the current build. The file will still be kept in the workspace after archiving.- Returns:
- if it should be archived or not
 
- 
setArchive@DataBoundSetter public void setArchive(boolean archive) If the archive file should be archived as an artifact of the current build. The file will still be kept in the workspace after archiving.- Parameters:
- archive- if it should be archived or not
 
- 
isOverwritepublic boolean isOverwrite()If the archive file should be overwritten in case of already existing a file with the same name.- Returns:
- if the file should be overwritten or not in case of existing.
 
- 
setOverwrite@DataBoundSetter public void setOverwrite(boolean overwrite) If the archive file should be overwritten in case of already existing a file with the same name.- Parameters:
- overwrite- if the file should be overwritten or not in case of existing.
 
- 
isDefaultExcludespublic boolean isDefaultExcludes()The defaultExcludes of ant java pattern.- Returns:
- the defaultExcludes boolean value
 
- 
setDefaultExcludes@DataBoundSetter public void setDefaultExcludes(boolean defaultExcludes) The defaultExcludes of ant java pattern.- Parameters:
- defaultExcludes- the defaultExcludes boolean value
 
 
-