public final class ClassPathSupport extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClassPathSupport.Callback
Optional callback to customize classpath support behaviour.
|
static class |
ClassPathSupport.Item
Item of the classpath.
|
Modifier and Type | Field and Description |
---|---|
static String |
ENDORSED
Classpath for endorsed libraries.
|
Constructor and Description |
---|
ClassPathSupport(PropertyEvaluator evaluator,
ReferenceHelper referenceHelper,
AntProjectHelper antProjectHelper,
UpdateHelper updateHelper,
ClassPathSupport.Callback callback)
Creates a new instance of ClassPathSupport
|
public static final String ENDORSED
ClassPath
for other classpath
types.public ClassPathSupport(PropertyEvaluator evaluator, ReferenceHelper referenceHelper, AntProjectHelper antProjectHelper, UpdateHelper updateHelper, ClassPathSupport.Callback callback)
public Iterator<ClassPathSupport.Item> itemsIterator(String propertyValue)
Items
from given property.public Iterator<ClassPathSupport.Item> itemsIterator(String propertyValue, String projectXMLElement)
public List<ClassPathSupport.Item> itemsList(String propertyValue)
public List<ClassPathSupport.Item> itemsList(String propertyValue, String projectXMLElement)
public String[] encodeToStrings(List<ClassPathSupport.Item> classpath)
public String[] encodeToStrings(List<ClassPathSupport.Item> classpath, String projectXMLElement)
public String[] encodeToStrings(List<ClassPathSupport.Item> classpath, String projectXMLElement, String libraryVolumeType)
classpath
- projectXMLElement
- libraryVolumeType
- public String getLibraryReference(ClassPathSupport.Item item)
public String getLibraryReference(ClassPathSupport.Item item, String volumeType)
item
- volumeType
- public static boolean isVariableBasedReference(String ref)