public class GlassFishCloudEntity extends Object implements GlassFishCloud
Modifier and Type | Field and Description |
---|---|
protected String |
host
GlassFish cloud host.
|
protected GlassFishServer |
localServer
GlassFish cloud local server.
|
protected String |
name
GlassFish cloud name (display name in IDE).
|
protected int |
port
GlassFish cloud port.
|
Constructor and Description |
---|
GlassFishCloudEntity()
Constructs empty class instance.
|
GlassFishCloudEntity(String name,
String host,
int port,
GlassFishServer localServer)
Constructs class instance with ALL values set.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Get GlassFish cloud host.
|
GlassFishServer |
getLocalServer()
Get GlassFish cloud local server.
|
String |
getName()
Get GlassFish cloud name (display name in IDE).
|
int |
getPort()
Get GlassFish server port.
|
void |
setHost(String host)
Set GlassFish cloud host.
|
void |
setLocalServer(GlassFishServer localServer)
Set GlassFish cloud local server.
|
void |
setName(String name)
Set GlassFish cloud name (display name in IDE).
|
void |
setPort(int port)
Set GlassFish server port.
|
String |
toString()
String representation of this GlassFish cloud entity.
|
protected String name
protected String host
protected int port
protected GlassFishServer localServer
public GlassFishCloudEntity()
public GlassFishCloudEntity(String name, String host, int port, GlassFishServer localServer)
name
- GlassFish cloud name to set.host
- GlassFish cloud host to set.port
- GlassFish server port to set.localServer
- GlassFish cloud local server to set.public String getName()
getName
in interface GlassFishCloud
public void setName(String name)
name
- GlassFish cloud name to set (display name in IDE).public String getHost()
getHost
in interface GlassFishCloud
public void setHost(String host)
host
- GlassFish cloud host to set.public int getPort()
getPort
in interface GlassFishCloud
public void setPort(int port)
port
- GlassFish server port to set.public GlassFishServer getLocalServer()
getLocalServer
in interface GlassFishCloud
public void setLocalServer(GlassFishServer localServer)
localServer
- GlassFish cloud local server to set.Copyright © 2013. All Rights Reserved.