com.sun.enterprise.module.maven
Class Processor

java.lang.Object
  extended by com.sun.enterprise.module.maven.Processor

public class Processor
extends Object

Data-binding bean to represent an artifact.

We use this to allow people to specify annotation processors to be used for APT, in mojo configuration.

Author:
Kohsuke Kawaguchi

Constructor Summary
Processor()
           
 
Method Summary
 org.apache.maven.artifact.Artifact createArtifact(org.apache.maven.artifact.factory.ArtifactFactory factory)
          Makes a Maven's artifact object out of it.
 org.apache.maven.artifact.Artifact createPOM(org.apache.maven.artifact.factory.ArtifactFactory factory)
          Makes a POM artifact out of it.
 String getArtifactId()
           
 String getGroupId()
           
 String getVersion()
           
 void setArtifactId(String artifactId)
           
 void setGroupId(String groupId)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Processor

public Processor()
Method Detail

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

createArtifact

public org.apache.maven.artifact.Artifact createArtifact(org.apache.maven.artifact.factory.ArtifactFactory factory)
Makes a Maven's artifact object out of it.


createPOM

public org.apache.maven.artifact.Artifact createPOM(org.apache.maven.artifact.factory.ArtifactFactory factory)
Makes a POM artifact out of it.



Copyright © 2012 Oracle Corporation. All Rights Reserved.