public final class PortAvailabilityValidationTask extends AbstractValidationTask
ValidationTask.TaskResult
Constructor and Description |
---|
PortAvailabilityValidationTask(NetworkAddressUtils.ServiceType serviceType,
String owner)
Creates a new instance of
PortAvailabilityValidationTask . |
Modifier and Type | Method and Description |
---|---|
ValidationTask.TaskResult |
validate(Map<String,String> optionsMap)
Runs the validation task.
|
getOptionList
public PortAvailabilityValidationTask(NetworkAddressUtils.ServiceType serviceType, String owner)
PortAvailabilityValidationTask
.serviceType
- Alluxio network service whose port will be validatedowner
- Alluxio class name who owns the network servicepublic ValidationTask.TaskResult validate(Map<String,String> optionsMap)
ValidationTask
optionsMap
- contains string representation of Copyright © 2023. All Rights Reserved.