|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
public class AntContainerManager
Implementation of IContainerManager based on Ant.
Constructor Summary | |
---|---|
AntContainerManager(java.lang.String theBuildFilePath,
int thePort,
java.lang.String theTargetDir,
java.util.Hashtable theHomes,
java.lang.String theContextURLPath)
Constructor. |
Method Summary | |
---|---|
org.eclipse.debug.core.ILaunchConfigurationWorkingCopy |
createAntLaunchConfiguration(java.lang.String[] theProviderArguments,
java.lang.String theTarget)
|
protected org.eclipse.swt.widgets.Shell |
getShell()
Convenience method to get the active Shell. |
void |
init(int thePort,
java.lang.String theTargetDir,
java.util.Hashtable theHomes,
java.lang.String theContextURLPath)
Initializer. |
void |
preparationDone()
Sets the prepared flag. |
void |
prepare(org.eclipse.jdt.core.IJavaProject theJavaProject)
Prepares the container providers for Cactus tests |
void |
setEclipseRunner(EclipseRunTests theRunner)
|
void |
tearDown()
Tears down the Cactus tests |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntContainerManager(java.lang.String theBuildFilePath, int thePort, java.lang.String theTargetDir, java.util.Hashtable theHomes, java.lang.String theContextURLPath) throws org.eclipse.core.runtime.CoreException
theBuildFilePath
- path to the Ant build file for this managerthePort
- the port that will be used when setting up the containerstheTargetDir
- temporary directory to use for
containers configurationtheHomes
- ContainerHome array for container configtheContextURLPath
- context path of the container provider
org.eclipse.core.runtime.CoreException
- if an argument is invalidMethod Detail |
---|
public void init(int thePort, java.lang.String theTargetDir, java.util.Hashtable theHomes, java.lang.String theContextURLPath) throws org.eclipse.core.runtime.CoreException
thePort
- the port that will be used when setting up the containerstheTargetDir
- temporary directory to use for
containers configurationtheHomes
- ContainerHome array for container configtheContextURLPath
- context path of the container provider
org.eclipse.core.runtime.CoreException
- if an argument is invalidpublic org.eclipse.debug.core.ILaunchConfigurationWorkingCopy createAntLaunchConfiguration(java.lang.String[] theProviderArguments, java.lang.String theTarget) throws org.eclipse.core.runtime.CoreException
theTarget
- the Ant target to be calledtheProviderArguments
- the Ant arguments specific for
the container provider
org.eclipse.core.runtime.CoreException
- if the launch configuration cannot be createdpublic void prepare(org.eclipse.jdt.core.IJavaProject theJavaProject)
IContainerManager
prepare
in interface IContainerManager
theJavaProject
- the Java project to prepare providers forIContainerManager.prepare(org.eclipse.jdt.core.IJavaProject)
public void tearDown()
tearDown
in interface IContainerManager
protected org.eclipse.swt.widgets.Shell getShell()
public void setEclipseRunner(EclipseRunTests theRunner)
theRunner
- the Eclipse runner to call when tests are donepublic void preparationDone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |