@AntTask(value="hdhr-tuner") public class HDHRTunerTask extends Task implements AnnotatedAntTask, ClasspathDelegateAntTask, ConfigurableAntTask
Task
for HDHomeRun tuners.
<hdhr-tuner address="String" classname="String" classpathref="Reference" description="String" id="String" key="int" taskname="String">
<classpath .../>
<get name="String"/>
<set name="String" value="String"/>
</hdhr-tuner>
HDHRTunerTask.Options
,
HDHRTunerTask.Scan
Modifier and Type | Class and Description |
---|---|
protected static class |
HDHRTunerTask.Directive |
static class |
HDHRTunerTask.Get
|
static class |
HDHRTunerTask.Options
|
static class |
HDHRTunerTask.Scan
|
static class |
HDHRTunerTask.Set
|
Modifier and Type | Field and Description |
---|---|
protected HDHRTuner |
tuner |
description, location, project
Constructor and Description |
---|
HDHRTunerTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredGet(HDHRTunerTask.Get get) |
void |
addConfiguredSet(HDHRTunerTask.Set set) |
void |
execute()
Default implementation for
Task subclasses. |
List<HDHRTunerTask.Directive> |
getDirectiveList() |
void |
init()
Default implementation for
Task
subclasses. |
void |
setAddress(String address) |
void |
setID(String id) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAntTaskName
log, log, log, log, log, log, log, log, log, log, log
createClasspath, delegate, delegate, getClassForName, getClassLoader, setClassname, setClasspathref
configure
public HDHRTunerTask()
public void setID(String id) throws BuildException
BuildException
public void setAddress(String address) throws BuildException
BuildException
public List<HDHRTunerTask.Directive> getDirectiveList()
public void addConfiguredGet(HDHRTunerTask.Get get)
public void addConfiguredSet(HDHRTunerTask.Set set)
public void init() throws BuildException
ClasspathDelegateAntTask
Task
subclasses.init
in interface ClasspathDelegateAntTask
init
in interface ConfigurableAntTask
init
in class Task
BuildException
public void execute() throws BuildException
AnnotatedAntTask
Task
subclasses. Check attributes
annotated with AntTaskAttributeConstraint
.
See AnnotatedAntTaskConfigurationChecker
.execute
in interface AnnotatedAntTask
execute
in class Task
BuildException
- If a
AntTaskAttributeConstraint.Checker
fails.Copyright © 2015–2020 Allen D. Ball. All rights reserved.