public class FreePortTool extends org.arquillian.spacelift.tool.Tool<Object,Boolean>
| Constructor and Description |
|---|
FreePortTool() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
aliases() |
FreePortTool |
port(String port)
Sets port to check.
|
protected Boolean |
process(Object input) |
public FreePortTool port(String port)
port - port to checkIllegalArgumentException - if port is null object or an empty string.NumberFormatException - if port is not a numberprotected Collection<String> aliases()
Copyright © 2015 JBoss by Red Hat. All rights reserved.