Package net.officefloor.maven
Class CloseOfficeFloorMojo
- java.lang.Object
- 
- org.apache.maven.plugin.AbstractMojo
- 
- net.officefloor.maven.CloseOfficeFloorMojo
 
 
- 
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
 
 @Mojo(name="close", defaultPhase=POST_INTEGRATION_TEST) public class CloseOfficeFloorMojo extends org.apache.maven.plugin.AbstractMojoOpenOfficeFloorMojo.- Author:
- Daniel Sagenschneider
 
- 
- 
Constructor SummaryConstructors Constructor Description CloseOfficeFloorMojo()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()static OfficeFloorMBeangetOfficeFloorBean(int port)Obtains theOfficeFloorMBean.
 
- 
- 
- 
Method Detail- 
getOfficeFloorBeanpublic static OfficeFloorMBean getOfficeFloorBean(int port) throws java.lang.Exception Obtains theOfficeFloorMBean.- Parameters:
- port- Port that JMX is running on for- OfficeFloor.
- Returns:
- OfficeFloorMBean.
- Throws:
- java.lang.Exception- If failure to connect and obtain- OfficeFloorMBean.
 
 - 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
 
- 
 
-