Package adams.core.management
Class AbstractBootstrappClassPathAugmenter
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.option.AbstractSimpleOptionParser
-
- adams.core.management.AbstractClassPathAugmenter
-
- adams.core.management.AbstractBootstrappClassPathAugmenter
-
- All Implemented Interfaces:
adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingSupporter
,adams.core.management.ClassPathAugmenter
,adams.core.option.SimpleOptionParser
,adams.core.SizeOfHandler
,Serializable
- Direct Known Subclasses:
RenjinClassPathAugmenter
public abstract class AbstractBootstrappClassPathAugmenter extends adams.core.management.AbstractClassPathAugmenter
Ancestor for classpath augmenters that make use of bootstrapp to pull in dependencies.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractBootstrappClassPathAugmenter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getActualLibDir()
Returns the actual directory with jars.abstract String
getBootstrappOutputDir()
Returns the directory that bootstrapp uses to pull in the libraries.String[]
getClassPathAugmentation()
Returns the classpath parts (jars, directories) to add to the classpath.protected abstract boolean
usesCompressedDirStructure()
Returns whether bootstrapp compresses the directory structure.-
Methods inherited from class adams.core.option.AbstractSimpleOptionParser
forCommandline, getParser, setOptions, setOptions
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
usesCompressedDirStructure
protected abstract boolean usesCompressedDirStructure()
Returns whether bootstrapp compresses the directory structure.- Returns:
- true if compressed
-
getBootstrappOutputDir
public abstract String getBootstrappOutputDir()
Returns the directory that bootstrapp uses to pull in the libraries.- Returns:
- the dir above 'target' or 'lib' (if compressed)
-
getActualLibDir
public String getActualLibDir()
Returns the actual directory with jars.- Returns:
- the directory
-
getClassPathAugmentation
public String[] getClassPathAugmentation()
Returns the classpath parts (jars, directories) to add to the classpath.- Returns:
- the additional classpath parts
-
-