|
|||||||||
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
org.apache.tools.ant.taskdefs.MatchingTask
org.apache.felix.scrplugin.ant.SCRDescriptorTask
public class SCRDescriptorTask
The SCRDescriptorTask
generates a service descriptor file based
on annotations found in the sources.
Field Summary | |
---|---|
protected boolean |
strictMode
In strict mode the plugin even fails on warnings. |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset |
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 | |
---|---|
SCRDescriptorTask()
|
Method Summary | |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
|
void |
execute()
|
protected java.util.Collection<org.apache.felix.scrplugin.Source> |
getSourceFiles(org.apache.tools.ant.types.FileSet sourceFiles)
|
void |
setClasspath(org.apache.tools.ant.types.Path classPath)
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)
|
void |
setDestdir(java.io.File outputDirectory)
|
void |
setFinalName(java.lang.String finalName)
|
void |
setGenerateAccessors(boolean generateAccessors)
|
void |
setMetaTypeName(java.lang.String metaTypeName)
|
void |
setSpecVersion(java.lang.String specVersion)
|
void |
setSrcdir(java.io.File srcdir)
|
void |
setStrictMode(boolean strictMode)
|
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean strictMode
Constructor Detail |
---|
public SCRDescriptorTask()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
protected java.util.Collection<org.apache.felix.scrplugin.Source> getSourceFiles(org.apache.tools.ant.types.FileSet sourceFiles)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspath(org.apache.tools.ant.types.Path classPath)
public void setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)
public void setSrcdir(java.io.File srcdir)
public void setDestdir(java.io.File outputDirectory)
public void setFinalName(java.lang.String finalName)
public void setMetaTypeName(java.lang.String metaTypeName)
public void setGenerateAccessors(boolean generateAccessors)
public void setStrictMode(boolean strictMode)
public void setSpecVersion(java.lang.String specVersion)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |