public class CheckJDK1_4 extends AbstractPlugin
SharedActivationGroupDescriptor
if the
descriptor's getServerCommand()
method returns non-null.Modifier and Type | Class and Description |
---|---|
static class |
CheckJDK1_4.JDK1_4Task
Subtask to check the VM version.
|
Modifier and Type | Field and Description |
---|---|
private EnvCheck |
envCheck
reference to the plugin container
|
private String |
taskName
name of task to execute
|
Constructor and Description |
---|
CheckJDK1_4() |
Modifier and Type | Method and Description |
---|---|
private void |
checkGroupVM()
Check the activation group VM.
|
private void |
checkMainVM()
Check the vm invoked by the command-line java command.
|
private void |
processReturn(Object o,
String source)
Process the object returned by the subtask.
|
void |
run(EnvCheck envCheck)
Check the validity of the activation group VM (if there is one)
|
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, isPluginOption, taskName
private EnvCheck envCheck
private String taskName
public void run(EnvCheck envCheck)
envCheck
- the containerprivate void checkGroupVM()
SharedActivationGroupDescriptor
available from the
container, invoke a subtask which verifies that the VM used to run that
group is at least version 1.4.private void checkMainVM()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.