Package org.jboss.as.cli
Class ControllerAddress
- java.lang.Object
-
- org.jboss.as.cli.ControllerAddress
-
public final class ControllerAddress extends Object
A class used both by theControllerAddressResolverand by the configuration to represent the address of a controller.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description ControllerAddress(String protocol, String host, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)booleanequals(ControllerAddress other)StringgetHost()intgetPort()StringgetProtocol()inthashCode()StringtoString()
-
-
-
Method Detail
-
getProtocol
public String getProtocol()
-
getHost
public String getHost()
-
getPort
public int getPort()
-
equals
public boolean equals(ControllerAddress other)
-
-