public class Socket extends ProjectComponent implements Condition
description, location, project| 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(java.lang.String server)
Set the server attribute
|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setServer(java.lang.String server)
server - the server namepublic void setPort(int port)
port - the port number of the socketpublic boolean eval()
throws BuildException
Conditioneval in interface ConditionBuildException - if the attributes are not set