Class RemovePrefix
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<NameTransformer>
-
- io.jenkins.plugins.credentials.secretsmanager.config.transformer.name.NameTransformer
-
- io.jenkins.plugins.credentials.secretsmanager.config.transformer.name.RemovePrefix
-
- All Implemented Interfaces:
Describable<NameTransformer>
,Serializable
public class RemovePrefix extends NameTransformer
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemovePrefix.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description RemovePrefix(String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getPrefix()
int
hashCode()
void
setPrefix(String prefix)
String
transform(String str)
Transform the string using some operation.-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
RemovePrefix
@DataBoundConstructor public RemovePrefix(String prefix)
-
-
Method Detail
-
getPrefix
public String getPrefix()
-
setPrefix
@DataBoundSetter public void setPrefix(String prefix)
-
transform
public String transform(String str)
Description copied from class:NameTransformer
Transform the string using some operation.- Specified by:
transform
in classNameTransformer
- Parameters:
str
- the raw string- Returns:
- the transformed string
-
-