public final class JobPropertiesValidateRule extends Object
| Constructor and Description |
|---|
JobPropertiesValidateRule() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateIsPositiveInteger(Properties props,
String key)
Validate property value is positive integer.
|
static void |
validateIsRequired(Properties props,
String key)
Validate property value is required.
|
public static void validateIsRequired(Properties props, String key)
props - properties to be validatedkey - property key to be validatedpublic static void validateIsPositiveInteger(Properties props, String key)
props - properties to be validatedkey - property key to be validatedCopyright © 2021 The Apache Software Foundation. All rights reserved.