public class CommandVersion extends Command
Modifier and Type | Field and Description |
---|---|
private static String |
COMMAND
Command string for version command.
|
Constructor and Description |
---|
CommandVersion()
Constructs an instance of GlassFish server version command entity.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
verifyResult(ResultString result,
GlassFishServer server)
Verifies if domain directory returned by version command result matches
domain directory of provided GlassFish server entity.
|
getCommand, retry
private static final String COMMAND
public CommandVersion()
public static boolean verifyResult(ResultString result, GlassFishServer server)
result
- Version command result.server
- GlassFish server entity.true
means that server
major and minor version value matches values returned by version
command and value of false
that they differs.Copyright © 2013. All Rights Reserved.