public class CheckJSKPlatform extends AbstractPlugin
jsk-platform.jar
is in the classpath
of the command-line being analyzed, and if the activation group
if there is one.Modifier and Type | Field and Description |
---|---|
private EnvCheck |
envCheck
the plugin container
|
private HashSet |
seen
classpath components already seen, to avoid circular reference loops
|
Constructor and Description |
---|
CheckJSKPlatform() |
Modifier and Type | Method and Description |
---|---|
private ArrayList |
checkItem(String item,
String source)
Checks a component on the classpath for existence and accessibility.
|
private void |
checkPlatform(String classpath,
String source)
Check
classpath for the existence of
jsk-platform.jar . |
private String[] |
parseClasspath(String path,
String source)
Separate each of the components making up the classpath into
separate tokens.
|
void |
run(EnvCheck envCheck)
Check the command line vm and the group, if there is one,
for a classpath containing
jsk-platform.jar . |
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, isPluginOption, taskName
private EnvCheck envCheck
private HashSet seen
public void run(EnvCheck envCheck)
jsk-platform.jar
.envCheck
- the plugin containerprivate void checkPlatform(String classpath, String source)
classpath
for the existence of
jsk-platform.jar
.classpath
- the classpath to checksource
- the source descriptionprivate String[] parseClasspath(String path, String source)
private ArrayList checkItem(String item, String source)
Class-Path
manifest entry, then each
of those items are checked and conditionally added to the list
as well (recursively). If an item
has been seen
previously, and empty list is returned immediately.item
- the classpath component to verifysource
- the source descriptive textCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.