Methods Summary |
---|
public void | addText(java.lang.String text)The script text.
helper.addText(text);
|
public org.apache.tools.ant.types.Path | createClasspath()Classpath to be used when searching for classes and resources.
return helper.createClasspath();
|
public java.lang.String | filter(java.lang.String token)Called filter the token.
This sets the token in this object, calls
the script and returns the token.
init();
setToken(token);
runner.executeScript("ant_filter");
return getToken();
|
public java.lang.String | getToken()The current token
return token;
|
private void | init()Initialize.
if (runner != null) {
return;
}
runner = helper.getScriptRunner();
|
public void | setClasspath(org.apache.tools.ant.types.Path classpath)Set the classpath to be used when searching for classes and resources.
helper.setClasspath(classpath);
|
public void | setClasspathRef(org.apache.tools.ant.types.Reference r)Set the classpath by reference.
helper.setClasspathRef(r);
|
public void | setLanguage(java.lang.String language)Defines the language (required).
helper.setLanguage(language);
|
public void | setManager(java.lang.String manager)Defines the manager.
helper.setManager(manager);
|
public void | setProject(org.apache.tools.ant.Project project)Set the project.
super.setProject(project);
helper.setProjectComponent(this);
|
public void | setSrc(java.io.File file)Load the script from an external file ; optional.
helper.setSrc(file);
|
public void | setToken(java.lang.String token)The current token
this.token = token;
|