org.apache.felix.scrplugin.ant
Class SCRDescriptorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.apache.felix.scrplugin.ant.SCRDescriptorTask
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class SCRDescriptorTask
extends org.apache.tools.ant.taskdefs.MatchingTask

The SCRDescriptorTask generates a service descriptor file based on annotations found in the sources.


Field Summary
protected  boolean parseJavadoc
          This flag controls whether the javadoc source code will be scanned for tags.
protected  boolean processAnnotations
          This flag controls whether the annotations in the sources will be processed.
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()
           
 void setAnnotationTagProviders(String[] annotationTagProviders)
           
 void setClasspath(org.apache.tools.ant.types.Path classPath)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)
           
 void setDestdir(File outputDirectory)
           
 void setFinalName(String finalName)
           
 void setGenerateAccessors(boolean generateAccessors)
           
 void setMetaTypeName(String metaTypeName)
           
 void setParseJavadoc(boolean parseJavadoc)
           
 void setProcessAnnotations(boolean processAnnotations)
           
 void setSpecVersion(String specVersion)
           
 void setSrcdir(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

parseJavadoc

protected boolean parseJavadoc
This flag controls whether the javadoc source code will be scanned for tags.


processAnnotations

protected boolean processAnnotations
This flag controls whether the annotations in the sources will be processed.


strictMode

protected boolean strictMode
In strict mode the plugin even fails on warnings.

Constructor Detail

SCRDescriptorTask

public SCRDescriptorTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classPath)

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)

setSrcdir

public void setSrcdir(File srcdir)

setDestdir

public void setDestdir(File outputDirectory)

setFinalName

public void setFinalName(String finalName)

setMetaTypeName

public void setMetaTypeName(String metaTypeName)

setGenerateAccessors

public void setGenerateAccessors(boolean generateAccessors)

setParseJavadoc

public void setParseJavadoc(boolean parseJavadoc)

setProcessAnnotations

public void setProcessAnnotations(boolean processAnnotations)

setStrictMode

public void setStrictMode(boolean strictMode)

setAnnotationTagProviders

public void setAnnotationTagProviders(String[] annotationTagProviders)

setSpecVersion

public void setSpecVersion(String specVersion)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.