Class ReadYamlStep
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.AbstractFileOrTextStep
org.jenkinsci.plugins.pipeline.utility.steps.conf.ReadYamlStep
- All Implemented Interfaces:
- ExtensionPoint,- Describable<org.jenkinsci.plugins.workflow.steps.Step>
Reads a yaml file from the workspace.
- Author:
- Philippe GRANET <philippe.granet@gmail.com>.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final Stringstatic final StringFields inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextSteptext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintstatic intstatic intintstatic intstatic intvoidsetCodePointLimit(int codePointLimit) static intsetDefaultCodePointLimit(int defaultCodePointLimit) Setter with an added check to ensure the default does not exceed the max value.static intsetDefaultMaxAliasesForCollections(int defaultMaxAliasesForCollections) Setter with an added check to ensure the default does not exceed the max value.voidsetMaxAliasesForCollections(int maxAliasesForCollections) static intsetMaxMaxAliasesForCollections(int maxMaxAliasesForCollections) Setter with an added check to ensure the default does not exceed the hardcoded max value.org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileOrTextStepgetText, setTextMethods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStepgetFile, setFileMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor
- 
Field Details- 
LIBRARY_DEFAULT_CODE_POINT_LIMITpublic static final int LIBRARY_DEFAULT_CODE_POINT_LIMIT
- 
MAX_CODE_POINT_LIMIT_PROPERTY
- 
DEFAULT_CODE_POINT_LIMIT_PROPERTY
- 
HARDCODED_CEILING_MAX_ALIASES_FOR_COLLECTIONSpublic static final int HARDCODED_CEILING_MAX_ALIASES_FOR_COLLECTIONS- See Also:
 
- 
LIBRARY_DEFAULT_MAX_ALIASES_FOR_COLLECTIONSpublic static final int LIBRARY_DEFAULT_MAX_ALIASES_FOR_COLLECTIONS
- 
MAX_MAX_ALIASES_PROPERTY
- 
DEFAULT_MAX_ALIASES_PROPERTY
 
- 
- 
Constructor Details- 
ReadYamlStep@DataBoundConstructor public ReadYamlStep()
 
- 
- 
Method Details- 
getMaxCodePointLimitpublic static int getMaxCodePointLimit()
- 
setDefaultCodePointLimitpublic static int setDefaultCodePointLimit(int defaultCodePointLimit) Setter with an added check to ensure the default does not exceed the max value.- Parameters:
- defaultCodePointLimit- the default value to set.
- Returns:
- the actual value set after checking the max allowed.
 
- 
getDefaultCodePointLimitpublic static int getDefaultCodePointLimit()
- 
setMaxMaxAliasesForCollectionspublic static int setMaxMaxAliasesForCollections(int maxMaxAliasesForCollections) Setter with an added check to ensure the default does not exceed the hardcoded max value. TODO: decide if we want to add a message here before failing back.- Parameters:
- maxMaxAliasesForCollections- maximum allowed aliases to be set.
- Returns:
- the resulting value after checking the ceiling.
 
- 
getMaxMaxAliasesForCollectionspublic static int getMaxMaxAliasesForCollections()
- 
setDefaultMaxAliasesForCollectionspublic static int setDefaultMaxAliasesForCollections(int defaultMaxAliasesForCollections) Setter with an added check to ensure the default does not exceed the max value.- Parameters:
- defaultMaxAliasesForCollections- the default value to set.
- Returns:
- the actual value set after checking the max allowed.
 
- 
getDefaultMaxAliasesForCollectionspublic static int getDefaultMaxAliasesForCollections()
- 
getCodePointLimitpublic int getCodePointLimit()
- 
setCodePointLimit@DataBoundSetter public void setCodePointLimit(int codePointLimit) 
- 
getMaxAliasesForCollectionspublic int getMaxAliasesForCollections()
- 
setMaxAliasesForCollections@DataBoundSetter public void setMaxAliasesForCollections(int maxAliasesForCollections) 
- 
startpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
- startin class- org.jenkinsci.plugins.workflow.steps.Step
- Throws:
- Exception
 
 
-