|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.antelmann.AntBuildLicenseFile
@ThirdParty(value="uses apache ant") public class AntBuildLicenseFile
creates a signed license file for an ant Task. This class requires the package org.apache.tools.ant to be found in your classpath (usually, the ant.jar file will do in your classpath). See http://jakarta.apache.org/ant/ for details.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
AntBuildLicenseFile()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
void |
setAppend(boolean append)
if true, the license to be created is appended to the file |
void |
setExpirationDate(String expirationDate)
the given date is parsed as mm/dd/yyyy |
void |
setExpirationDays(int days)
|
void |
setFile(File licenseFile)
sets the file location for the license file to be created; required |
void |
setIncludeSubPackages(boolean includeSubPackages)
|
void |
setIssuedFor(String issuedFor)
|
void |
setLicensee(String licensee)
|
void |
setUsageLimit(int limit)
limit is parsed as integer and limits the license(s) to the given number of uses |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntBuildLicenseFile()
| Method Detail |
|---|
public void setFile(File licenseFile)
public void setIssuedFor(String issuedFor)
public void setAppend(boolean append)
public void setLicensee(String licensee)
public void setUsageLimit(int limit)
public void setIncludeSubPackages(boolean includeSubPackages)
public void setExpirationDays(int days)
public void setExpirationDate(String expirationDate)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||