|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.weblogic.util.WeblogicMojoUtilities
public class WeblogicMojoUtilities
This class contains some utilities that are useful during use of the Weblogic Mojo.
| Method Summary | |
|---|---|
static String |
getAdminUrl(String inProtocol,
String inServerName,
String inServerPort)
This method will contstruct the Admin URL to the given server. |
static String |
getDependencies(Set inArtifacts)
This method will get the dependencies from the pom and construct a classpath string to be used to run a mojo where a classpath is required. |
static String |
getDependencies(Set artifacts,
List pluginArtifacts)
This method will get the PLUGIN dependencies from the pom and construct a classpath string to be used to run a mojo where a classpath is required. |
static File |
getEarFileName(Set inArtifacts)
Returns the fully qualified path to an ear file int the artifact list. |
static File |
getEjbJarFileName(Set inArtifacts)
Returns the ejb file type from the artifact list |
static File |
getWarFileName(Set inArtifacts)
Returns the fully qualified path to a war file in the artifact list. |
static File |
getWarFileName(Set inArtifacts,
String fileName)
Returns the fully qualified path to an war file in the artifact list. |
static String |
updateArtifactName(String inName,
String inProjectPackaging)
This method will make sure there is a type appended to the file name and if it is the appropriate type for the project packaging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getAdminUrl(String inProtocol,
String inServerName,
String inServerPort)
inProtocol - The protocol to contact the server with (i.e. t3 or http)inServerName - The name of the server to contact.inServerPort - The listen port for the server to contact.
public static String updateArtifactName(String inName,
String inProjectPackaging)
inName - The name of the artifact.inProjectPackaging - The type of packaging for this project.
public static String getDependencies(Set inArtifacts)
inArtifacts - The Set of artifacts for the pom being run.
public static File getEarFileName(Set inArtifacts)
inArtifacts - - the set of artifacts
public static File getWarFileName(Set inArtifacts)
inArtifacts - - the set of artifacts
IllegalArgumentException - - when a war is not found
public static File getWarFileName(Set inArtifacts,
String fileName)
inArtifacts - - the set of artifactsfileName - - the file name we are looking for in the aftifact list
public static File getEjbJarFileName(Set inArtifacts)
inArtifacts - - the dependency artifacts
public static String getDependencies(Set artifacts,
List pluginArtifacts)
The plugin dependencies are placed after the project dependencies in the classpath.
artifacts - The Set of artifacts for the pom being run.pluginArtifacts - the plugin artifacts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||