public class Socket extends ProjectComponent implements Condition
Constructor and Description |
---|
Socket() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Is this condition true?
|
void |
setPort(int port)
Set the port attribute
|
void |
setServer(String server)
Set the server attribute
|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if the attributes are not setpublic void setPort(int port)
port
- the port number of the socketpublic void setServer(String server)
server
- the server name