Constructor and Description |
---|
StringStartsWithValidator(String startsWith,
String errorMessageOnEmpty,
String errorMessage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
validate(String value,
Void param)
Validates the given value.
|
public StringStartsWithValidator(String startsWith, String errorMessageOnEmpty, String errorMessage)
startsWith
- prefix from which value must start.errorMessageOnEmpty
- error message in case if value is null or empty.errorMessage
- error message in case if value does not start with given
prefix.Copyright © 2016–2023. All rights reserved.