Class FilterConfig
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<FilterConfig>
-
- io.jenkins.plugins.editable_choice.FilterConfig
-
- All Implemented Interfaces:
Describable<FilterConfig>,Serializable
public class FilterConfig extends AbstractDescribableImpl<FilterConfig> implements Serializable
FilterConfig holds configurations how to filter values for the input.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilterConfig.DescriptorImplDescriptor forFilterConfig.
-
Constructor Summary
Constructors Constructor Description FilterConfig()ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCaseInsensitive()booleanisPrefix()voidsetCaseInsensitive(boolean caseInsensitive)voidsetPrefix(boolean prefix)StringtoJson()FilterConfigwithCaseInsensitive(boolean caseInsensitive)FilterConfigwithPrefix(boolean prefix)-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
setPrefix
@DataBoundSetter public void setPrefix(boolean prefix)
- Parameters:
prefix- whether to filter values only with prefixes
-
isPrefix
public boolean isPrefix()
- Returns:
- whether to filter values only with prefixes
-
withPrefix
public FilterConfig withPrefix(boolean prefix)
- Parameters:
prefix- whether to filter values only with prefixes- Returns:
- this instance
-
setCaseInsensitive
@DataBoundSetter public void setCaseInsensitive(boolean caseInsensitive)
- Parameters:
caseInsensitive- whether to match in case insensitive
-
isCaseInsensitive
public boolean isCaseInsensitive()
- Returns:
- whether to match in case insensitive
-
withCaseInsensitive
public FilterConfig withCaseInsensitive(boolean caseInsensitive)
- Parameters:
caseInsensitive- whether to match in case insensitive- Returns:
- this instance
-
toJson
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String toJson()
- Returns:
- json replresentation for this configuration
-
-