|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.weblogic.AbstractWeblogicMojo
org.codehaus.mojo.weblogic.DeployMojoBase
public abstract class DeployMojoBase
This class is a base class for all deployment related mojos.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.mojo.weblogic.AbstractWeblogicMojo |
|---|
WEBLOGIC_HOME_KEY |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DeployMojoBase()
|
|
| Method Summary | |
|---|---|
void |
execute()
This method will perform the deployment of the object to the proper server url. |
protected boolean |
executeDeployer(String[] parameters,
String errorMessage)
Executes the deployer with the given parameters. |
String |
getAdminServerHostName()
Returns the value for the admin server host name property. |
String |
getAdminServerPort()
Returns the value for the admin server port property. |
String |
getAdminServerProtocol()
Getter for property admin server protocol. |
String |
getArtifactPath()
Getter for property artifact path. |
protected String[] |
getInputParameters(String inOperation)
This method will build up the parameters required for the various deployment operations. |
String |
getName()
Returns the value for the name property. |
String |
getPassword()
Returns the value for the password property. |
String |
getProjectPackaging()
Getter for property project packaging. |
List |
getTargetList()
This method will return a list of target by parsing the comma separated list of targets.. |
String |
getTargetNames()
Returns the value for the target names property. |
int |
getTimeout()
Getter for deployment timeout |
String |
getUserId()
Returns the value for the user id property. |
boolean |
isContinueOnFailure()
Getter for continueOnFailure |
boolean |
isDebug()
|
boolean |
isExploded()
Getter for exploded. |
boolean |
isNoExit()
getter for this.noExit |
boolean |
isNoVersion()
Getter for the -noversion flag |
boolean |
isNoWait()
Getter for noWait |
boolean |
isRemote()
Getter for property remote. |
boolean |
isStage()
|
boolean |
isUpload()
|
boolean |
isVerbose()
|
boolean |
isVersion()
Getter for version |
void |
setAdminServerHostName(String inAdminServerHostName)
Sets the value of the admin server host name property. |
void |
setAdminServerPort(String inAdminServerPort)
Sets the value of the admin server port property. |
void |
setAdminServerProtocol(String inAdminServerProtocol)
Setter for the admin server protocol. |
void |
setArtifactPath(String inArtifactPath)
Setter for the artifact path. |
void |
setContinueOnFailure(boolean continueOnFailure)
Setter for continue on failure. |
void |
setDebug(boolean debug)
|
void |
setExploded(boolean exploded)
Setter for exploded. |
void |
setName(String inName)
Sets the value of the name property. |
void |
setNoExit(boolean noExit)
Setter for this.noExit |
void |
setNoVersion(boolean noVersion)
Setter for noVersion. |
void |
setNoWait(boolean noWait)
Setter for noWait |
void |
setPassword(String inPassword)
Sets the value of the password property. |
void |
setProjectPackaging(String inProjectPackaging)
Setter for the project packaging. |
void |
setRemote(boolean inRemote)
Setter for the remote. |
void |
setStage(boolean stage)
|
void |
setTargetNames(String inTargetNames)
Sets the value of the target names property. |
void |
setTimeout(int timeout)
Setter for the deployment timeout |
void |
setUpload(boolean upload)
|
void |
setUserId(String inUserId)
Sets the value of the user id property. |
void |
setVerbose(boolean verbose)
|
void |
setVersion(boolean version)
Setter for version |
String |
toString()
toString methode: creates a String representation of the object |
| Methods inherited from class org.codehaus.mojo.weblogic.AbstractWeblogicMojo |
|---|
createTargetDirectory, getArtifacts, getDefaultLogger, getDependencies, getOutputDirectory, getPluginArtifacts, getWeblogicHome, setArtifacts, setDependencies, setOutputDirectory, setPluginArtifacts, setProperties, setWeblogicHome |
| 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, wait, wait, wait |
| Constructor Detail |
|---|
public DeployMojoBase()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractWeblogicMojoorg.apache.maven.plugin.MojoExecutionException - Thrown if we fail to obtain a Weblogic deployment instance.AbstractWeblogicMojo.weblogicHomepublic String getAdminServerHostName()
public void setAdminServerHostName(String inAdminServerHostName)
inAdminServerHostName - The new value of the admin server host name property.public String getAdminServerPort()
public void setAdminServerPort(String inAdminServerPort)
inAdminServerPort - The new value of the admin server port property.public String getName()
public void setName(String inName)
inName - The new value of the name property.public String getPassword()
public void setPassword(String inPassword)
inPassword - The new value of the password property.public String getTargetNames()
public void setTargetNames(String inTargetNames)
inTargetNames - The new value of the target names property.public String getUserId()
public void setUserId(String inUserId)
inUserId - The new value of the user id property.public List getTargetList()
public boolean isRemote()
public void setRemote(boolean inRemote)
inRemote - The value of remote.public String getAdminServerProtocol()
public void setAdminServerProtocol(String inAdminServerProtocol)
inAdminServerProtocol - The value of admin server protocol.protected String[] getInputParameters(String inOperation)
inOperation - The deployment operation to take place.
protected boolean executeDeployer(String[] parameters,
String errorMessage)
throws org.apache.maven.plugin.MojoExecutionException
parameters - the parameters to executeerrorMessage - the error message
org.apache.maven.plugin.MojoExecutionException - when the deployer fails and the continueOnFailure is falsepublic String getArtifactPath()
exploded attribute is set
the value will be artifactPath.
public void setArtifactPath(String inArtifactPath)
inArtifactPath - The value of artifact path.public String getProjectPackaging()
public void setProjectPackaging(String inProjectPackaging)
inProjectPackaging - The value of project packaging.public String toString()
toString in class AbstractWeblogicMojopublic boolean isStage()
public void setStage(boolean stage)
stage - the stage to setpublic boolean isDebug()
public void setDebug(boolean debug)
debug - the debug to setpublic boolean isVerbose()
public void setVerbose(boolean verbose)
verbose - the verbose to setpublic boolean isUpload()
public void setUpload(boolean upload)
upload - the upload to setpublic boolean isContinueOnFailure()
public void setContinueOnFailure(boolean continueOnFailure)
continueOnFailure - the value to setpublic boolean isNoWait()
public void setNoWait(boolean noWait)
noWait - if set to true, weblogic will not wait for deployment successpublic int getTimeout()
public void setTimeout(int timeout)
timeout - in secondspublic boolean isVersion()
public void setVersion(boolean version)
version - set to true to have weblogic print the versionpublic boolean isNoVersion()
public void setNoVersion(boolean noVersion)
noVersion - set to true if the -noversion flag should be usedpublic boolean isNoExit()
public void setNoExit(boolean noExit)
noExit - set to true if weblogic should NOT use System.exit() when problems arise.public boolean isExploded()
exploded.
public void setExploded(boolean exploded)
exploded.
exploded - true to use the target artifact path as the -source parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||