org.mule.tools.maven.plugin
Class AbstractCloudHubMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mule.tools.maven.plugin.AbstractCloudHubMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractCloudHubDeployMojo, CloudHubUnDeployMojo

public abstract class AbstractCloudHubMojo
extends org.apache.maven.plugin.AbstractMojo

Base class for CloudHub Mojos


Field Summary
protected  String cloudHubUrl
           
protected  String domain
           
protected  String password
           
protected  String username
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCloudHubMojo()
           
 
Method Summary
protected  CloudHubAdapter createDomainConnection()
           
protected  String getPassword()
           
protected  org.apache.maven.settings.Server getServer()
           
protected  String getUsername()
           
protected  String normalize(String url)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

cloudHubUrl

protected String cloudHubUrl

domain

protected String domain

username

protected String username

password

protected String password
Constructor Detail

AbstractCloudHubMojo

public AbstractCloudHubMojo()
Method Detail

getServer

protected org.apache.maven.settings.Server getServer()
                                              throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

normalize

protected String normalize(String url)
                    throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getUsername

protected String getUsername()
                      throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getPassword

protected String getPassword()
                      throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

createDomainConnection

protected CloudHubAdapter createDomainConnection()
                                          throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010–2013 MuleSoft, Inc.. All rights reserved.