org.jboss.shrinkwrap.descriptor.extension.ant.task
Class MetadataParserTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jboss.shrinkwrap.descriptor.extension.ant.task.MetadataParserTask
All Implemented Interfaces:
Cloneable

public class MetadataParserTask
extends org.apache.tools.ant.Task

Implementation class for the Shrinkwrap Descriptors Ant task.

Author:
Jesper Pedersen

Nested Class Summary
 class MetadataParserTask.Classpath
          Classpath
 class MetadataParserTask.Descriptor
          Descriptor
 class MetadataParserTask.Descriptors
          Descriptors
 class MetadataParserTask.Namespaces
          Namespaces
 class MetadataParserTask.Path
          Path
 class MetadataParserTask.Property
          Property
 
Field Summary
protected  MetadataParserTask.Classpath classpath
          Classpath
protected  String classpathRef
          Classpath ref
protected  MetadataParserTask.Descriptors descriptors
          Descriptors
protected  MetadataParserTask.Path path
          Path
protected  boolean verbose
          Trace flag
 
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
MetadataParserTask()
          Constructor
 
Method Summary
 MetadataParserTask.Classpath createClasspath()
          Create the classpath
 MetadataParserTask.Descriptors createDescriptors()
          Create the descriptors
 MetadataParserTask.Path createPath()
          Create the path
 void execute()
          Execute Ant task
 void setClasspathref(String v)
          Set the classpath reference
 void setVerbose(boolean v)
          Set the verbose flag
 
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
 

Field Detail

verbose

protected boolean verbose
Trace flag


classpathRef

protected String classpathRef
Classpath ref


path

protected MetadataParserTask.Path path
Path


descriptors

protected MetadataParserTask.Descriptors descriptors
Descriptors


classpath

protected MetadataParserTask.Classpath classpath
Classpath

Constructor Detail

MetadataParserTask

public MetadataParserTask()
Constructor

Method Detail

setVerbose

public void setVerbose(boolean v)
Set the verbose flag

Parameters:
v - The value

setClasspathref

public void setClasspathref(String v)
Set the classpath reference

Parameters:
v - The value

createPath

public MetadataParserTask.Path createPath()
Create the path

Returns:
The value

createDescriptors

public MetadataParserTask.Descriptors createDescriptors()
Create the descriptors

Returns:
The value

createClasspath

public MetadataParserTask.Classpath createClasspath()
Create the classpath

Returns:
The value

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute Ant task

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - If an error occurs


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.