public abstract class PreferencesTask extends Task implements AnnotatedAntTask, ClasspathDelegateAntTask, ConfigurableAntTask
Task base class
for Preferences-specific tasks.
<PreferencesTask classname="String" classpathref="Reference" description="String" taskname="String" type="String">
<classpath .../>
</PreferencesTask>
| Modifier and Type | Class and Description |
|---|---|
static class |
PreferencesTask.Export
Preferences export Task. |
description, location, project| Constructor and Description |
|---|
PreferencesTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Default implementation for
Task subclasses. |
void |
init()
Default implementation for
Task
subclasses. |
void |
setType(String string) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAntTaskNamelog, log, log, log, log, log, log, log, log, log, logcreateClasspath, delegate, delegate, getClassForName, getClassLoader, setClassname, setClasspathrefconfigurepublic PreferencesTask()
public void init() throws BuildException
ClasspathDelegateAntTaskTask
subclasses.init in interface ClasspathDelegateAntTaskinit in interface ConfigurableAntTaskinit in class TaskBuildExceptionpublic void execute() throws BuildException
AnnotatedAntTaskTask subclasses. Check attributes
annotated with AntTaskAttributeConstraint.
See AnnotatedAntTaskConfigurationChecker.execute in interface AnnotatedAntTaskexecute in class TaskBuildException - If a
AntTaskAttributeConstraint.Checker
fails.Copyright © 2015–2021. All rights reserved.