public abstract class UUIDTask extends Task implements AnnotatedAntTask, ClasspathDelegateAntTask, ConfigurableAntTask, PropertySetterAntTask
Task to generate new
unique UUIDs.
<UUIDTask classname="String" classpathref="Reference" description="String" property="String" taskname="String">
<classpath .../>
</UUIDTask>
UUIDTask.Generate,
UUIDTask.GenerateRandom,
UUIDTask.GenerateTime| Modifier and Type | Class and Description |
|---|---|
static class |
UUIDTask.From
|
static class |
UUIDTask.Generate
|
static class |
UUIDTask.GenerateRandom
|
static class |
UUIDTask.GenerateTime
|
static class |
UUIDTask.Null
|
description, location, project| Constructor and Description |
|---|
UUIDTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Default implementation for
Task subclasses. |
abstract UUID |
getPropertyValue()
Method to get the value to assign to the property.
|
void |
init()
Default implementation for
Task
subclasses. |
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, setClasspathrefconfiguregetProperty, setPropertypublic UUIDTask()
public void execute() throws BuildException
AnnotatedAntTaskTask subclasses. Check attributes
annotated with AntTaskAttributeConstraint.
See AnnotatedAntTaskConfigurationChecker.execute in interface AnnotatedAntTaskexecute in interface PropertySetterAntTaskexecute in class TaskBuildException - If a
AntTaskAttributeConstraint.Checker
fails.public abstract UUID getPropertyValue() throws Exception
PropertySetterAntTaskgetPropertyValue in interface PropertySetterAntTaskException - As specified by implementing subclass.public void init() throws BuildException
ClasspathDelegateAntTaskTask
subclasses.init in interface ClasspathDelegateAntTaskinit in interface ConfigurableAntTaskinit in class TaskBuildExceptionCopyright © 2015–2020. All rights reserved.