<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.
| Modifier and Type | Field and Description |
|---|---|
| private String | currentPriority
the current priority |
| private Integer | newPriority
the new priority |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | setCurrentPriority(String
the property name. currentPriority)The name of a property to set to the value of the current thread priority. |
| public void |
| currentPriority | back to summary |
|---|---|
| private String currentPriority the current priority | |
| newPriority | back to summary |
|---|---|
| private Integer newPriority the new priority | |
| Nice | back to summary |
|---|---|
| public Nice() | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Execute the task
| |
| setCurrentPriority | back to summary |
|---|---|
| public void setCurrentPriority(String currentPriority) The name of a property to set to the value of the current thread priority. Optional
| |
| setNewPriority | back to summary |
|---|---|
| public void setNewPriority(int newPriority) the new priority, in the range 1-10.
| |