public class PortSource extends ParameterizedSource
SourceType.PORT
Equality checking for instances of this class should be executed on every
member to ensure that reconciling stack differences is correct.ParameterizedSource.AlertParameter, ParameterizedSource.AlertParameterType, ParameterizedSource.AlertParameterVisibility
Constructor and Description |
---|
PortSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getPort() |
String |
getUri() |
int |
hashCode() |
void |
setPort(int port) |
void |
setUri(String uri) |
getParameters
getReporting, getType, setReporting, setType
public String getUri()
public void setUri(String uri)
uri
- the URI to check for a valid portpublic int getPort()
public void setPort(int port)
port
- the port to check on the given URI.public int hashCode()
hashCode
in class ParameterizedSource
public boolean equals(Object obj)
equals
in class ParameterizedSource
Copyright © 2022 Apache Software Foundation. All rights reserved.