public class CommandStartCluster extends CommandTarget
Modifier and Type | Field and Description |
---|---|
private static String |
COMMAND
Command string for start-cluster command.
|
private static String |
ERROR_MESSAGE
Error message for administration command execution exception .
|
target
Constructor and Description |
---|
CommandStartCluster(String target)
Constructs an instance of GlassFish server start-cluster command entity.
|
Modifier and Type | Method and Description |
---|---|
static ResultString |
startCluster(GlassFishServer server,
String target)
Starts cluster.
|
getCommand, retry
private static final String COMMAND
private static final String ERROR_MESSAGE
public CommandStartCluster(String target)
target
- Target GlassFish cluster.public static ResultString startCluster(GlassFishServer server, String target) throws GlassFishIdeException
server
- GlassFish server entity.target
- Cluster name.GlassFishIdeException
- When error occurred during administration
command execution.Copyright © 2013. All Rights Reserved.