org.mule.tools.npm
Class NPMModule

java.lang.Object
  extended by org.mule.tools.npm.NPMModule

public class NPMModule
extends Object


Field Summary
 String version
           
 
Method Summary
static NPMModule fromName(org.apache.maven.plugin.logging.Log log, String name)
           
static NPMModule fromNameAndVersion(org.apache.maven.plugin.logging.Log log, String name, String version)
           
static NPMModule fromQueryString(org.apache.maven.plugin.logging.Log log, String nameAndVersion)
           
 List<NPMModule> getDependencies()
           
 URL getDownloadURL()
           
 String getName()
           
 String getVerion()
           
 void saveToFile(File file)
           
 void saveToFileWithDependencies(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public String version
Method Detail

getName

public String getName()

getVerion

public String getVerion()

getDependencies

public List<NPMModule> getDependencies()

saveToFileWithDependencies

public void saveToFileWithDependencies(File file)
                                throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

saveToFile

public void saveToFile(File file)
                throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

fromQueryString

public static NPMModule fromQueryString(org.apache.maven.plugin.logging.Log log,
                                        String nameAndVersion)
                                 throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

fromNameAndVersion

public static NPMModule fromNameAndVersion(org.apache.maven.plugin.logging.Log log,
                                           String name,
                                           String version)
                                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getDownloadURL

public URL getDownloadURL()

fromName

public static NPMModule fromName(org.apache.maven.plugin.logging.Log log,
                                 String name)
                          throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2012. All Rights Reserved.