java.lang.Cloneable, Conditionpublic class Socket extends ProjectComponent implements Condition
description, location, project| Constructor | Description |
|---|---|
Socket() |
| Modifier and Type | Method | 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
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, 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