Constructor | Description |
---|---|
JavaVersion() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
eval() |
Evaluate the condition.
|
java.lang.String |
getAtLeast() |
Get the atleast attribute.
|
java.lang.String |
getExactly() |
Get the exactly attribute.
|
void |
setAtLeast(java.lang.String atLeast) |
Set the atleast attribute.
|
void |
setExactly(java.lang.String exactly) |
Set the exactly attribute.
|
public boolean eval() throws BuildException
eval
in interface Condition
BuildException
- if an error occurs.public java.lang.String getAtLeast()
public void setAtLeast(java.lang.String atLeast)
atLeast
- the version to check against.public java.lang.String getExactly()
public void setExactly(java.lang.String exactly)
exactly
- the version to check against.