public class CommandListComponents extends CommandTarget
Modifier and Type | Field and Description |
---|---|
private static String |
COMMAND
Command string for list components command.
|
private static String |
ERROR_MESSAGE
Error message for administration command execution exception .
|
target
Constructor and Description |
---|
CommandListComponents(String target)
Constructs an instance of GlassFish server list components
command entity.
|
Modifier and Type | Method and Description |
---|---|
static ResultMap<String,List<String>> |
listComponents(GlassFishServer server,
String target)
List components.
|
getCommand, retry
private static final String COMMAND
private static final String ERROR_MESSAGE
public CommandListComponents(String target)
target
- Target GlassFish instance or cluster.public static ResultMap<String,List<String>> listComponents(GlassFishServer server, String target) throws GlassFishIdeException
server
- GlassFish server entity.target
- Target server instance or cluster.GlassFishIdeException
- When error occurred during administration
command execution.Copyright © 2013. All Rights Reserved.