net.israfil.mojo.flex2
Class AbstractFlexModule

java.lang.Object
  extended by net.israfil.mojo.flex2.AbstractFlexModule
All Implemented Interfaces:
FlexModule
Direct Known Subclasses:
SwfModule

public abstract class AbstractFlexModule
extends java.lang.Object
implements FlexModule

A base implementation of an FlexModule.

Version:
$Id: AbstractFlexModule.java 529 2007-09-05 21:34:22Z christianedwardgruber $
Author:
Stephane Nicoll, Christian Edward Gruber

Field Summary
protected  java.lang.String targetFilename
          The name by which this module will be deployed
protected  java.lang.String targetPath
          The target folder into which this module's artifact will be deployed
 
Constructor Summary
AbstractFlexModule()
           
AbstractFlexModule(org.apache.maven.artifact.Artifact artifact)
           
 
Method Summary
 org.apache.maven.artifact.Artifact getArtifact()
          Returns the artifact for the modeule
 java.lang.String getArtifactId()
          Returns the artifactId of the artifact wrapped by this module.
 java.lang.String getClassifier()
          Returns the classifier (if any) of the artifact wrapped by this module.
 java.lang.String getGroupId()
          Returns the groupId of the artifact wrapped by this module.
 java.lang.String getTargetFilename()
          Returns the filename by which this artifact should be deployed
 java.lang.String getTargetPath()
          Returns the directory into which this artifact should be deployed.
 void resolveArtifact(org.apache.maven.project.MavenProject project, java.util.Set artifacts)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.israfil.mojo.flex2.FlexModule
getType
 

Field Detail

targetPath

protected java.lang.String targetPath
The target folder into which this module's artifact will be deployed


targetFilename

protected java.lang.String targetFilename
The name by which this module will be deployed

Constructor Detail

AbstractFlexModule

public AbstractFlexModule()

AbstractFlexModule

public AbstractFlexModule(org.apache.maven.artifact.Artifact artifact)
Method Detail

resolveArtifact

public void resolveArtifact(org.apache.maven.project.MavenProject project,
                            java.util.Set artifacts)
                     throws org.apache.maven.plugin.MojoFailureException
Specified by:
resolveArtifact in interface FlexModule
Throws:
org.apache.maven.plugin.MojoFailureException

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()
Description copied from interface: FlexModule
Returns the artifact for the modeule

Specified by:
getArtifact in interface FlexModule

getGroupId

public java.lang.String getGroupId()
Returns the groupId of the artifact wrapped by this module.


getArtifactId

public java.lang.String getArtifactId()
Returns the artifactId of the artifact wrapped by this module.


getClassifier

public java.lang.String getClassifier()
Returns the classifier (if any) of the artifact wrapped by this module.


getTargetPath

public java.lang.String getTargetPath()
Returns the directory into which this artifact should be deployed.

Specified by:
getTargetPath in interface FlexModule

getTargetFilename

public java.lang.String getTargetFilename()
Returns the filename by which this artifact should be deployed

Specified by:
getTargetFilename in interface FlexModule

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2008 Israfil Consulting Services Corporation Open-Source Projects. All Rights Reserved.