public class GraphiteValidator extends Object
Constructor and Description |
---|
GraphiteValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isBaseQueueNamePresent(String baseQueueName) |
boolean |
isDescriptionPresent(String description) |
boolean |
isDescriptionTooLong(String description) |
boolean |
isIpPresent(String ip) |
boolean |
isListening(String ip,
int port) |
boolean |
isPortPresent(String port) |
boolean |
validateBaseQueueName(String value) |
boolean |
validateIpFormat(String ip) |
boolean |
validatePortFormat(String port) |
public boolean validateIpFormat(String ip)
ip
- public boolean validatePortFormat(String port)
port
- public boolean isListening(String ip, int port)
ip
- port
- public boolean isIpPresent(String ip)
ip
- public boolean isPortPresent(String port)
port
- public boolean isDescriptionPresent(String description)
description
- public boolean isDescriptionTooLong(String description)
description
- public boolean isBaseQueueNamePresent(String baseQueueName)
baseQueueName
- public boolean validateBaseQueueName(String value)
Copyright © 2004-2015. All Rights Reserved.