public class ExtendSelector extends BaseSelector
| Constructor and Description |
|---|
ExtendSelector()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParam(Parameter p)
Create new parameters to pass to custom selector.
|
Path |
createClasspath()
Specify the classpath to use to load the Selector (nested element).
|
Path |
getClasspath()
Get the classpath
|
boolean |
isSelected(InstallData idata,
File basedir,
String filename,
File file)
Allows the custom selector to choose whether to select a file.
|
void |
selectorCreate()
Instantiates the identified custom selector class.
|
void |
setClassname(String classname)
Sets the classname of the custom selector.
|
void |
setClasspath(Path classpath)
Set the classpath to load the classname specified using an attribute.
|
void |
verifySettings()
These are errors specific to ExtendSelector only.
|
getError, setError, validategetDescription, isChecked, noChildrenAllowed, setChecked, setDescription, tooManyAttributespublic void setClassname(String classname)
classname - is the class which implements this selectorpublic void selectorCreate()
public void addParam(Parameter p)
p - The new Parameter objectpublic final void setClasspath(Path classpath) throws Exception
classpath - the classpath to useExceptionpublic final Path createClasspath() throws Exception
Exceptionpublic final Path getClasspath()
public void verifySettings()
verifySettings in class BaseSelectorpublic boolean isSelected(InstallData idata, File basedir, String filename, File file) throws Exception
isSelected in interface FileSelectorisSelected in class BaseSelectorbasedir - A java.io.File object for the base directoryfilename - The name of the file to checkfile - A File object for this filenameException - if an error occursCopyright © 2001–2025. All rights reserved.