public class Nice extends Task
<nice currentPriority="current.value" >
 Set currentPriority to the current priority
 
<nice newPriority="10" >
Raise the priority of the build process (But not forked programs)
<nice currentPriority="old" newPriority="3" >
 Lower the priority of the build process (But not forked programs), and save
 the old value to the property old.
description, location, project| Constructor and Description | 
|---|
| Nice() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute()Execute the task | 
| void | setCurrentPriority(java.lang.String currentPriority)The name of a property to set to the value of the current
 thread priority. | 
| void | setNewPriority(int newPriority)the new priority, in the range 1-10. | 
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void execute()
             throws BuildException
execute in class TaskBuildException - if something goes wrong with the buildpublic void setCurrentPriority(java.lang.String currentPriority)
currentPriority - the property name.public void setNewPriority(int newPriority)
newPriority - the new priority value.