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.AbstractMojo
OpenOfficeFloor
Mojo
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description CloseOfficeFloorMojo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
static OfficeFloorMBean
getOfficeFloorBean(int port)
Obtains theOfficeFloorMBean
.
-
-
-
Method Detail
-
getOfficeFloorBean
public static OfficeFloorMBean getOfficeFloorBean(int port) throws java.lang.Exception
Obtains theOfficeFloorMBean
.- Parameters:
port
- Port that JMX is running on forOfficeFloor
.- Returns:
OfficeFloorMBean
.- Throws:
java.lang.Exception
- If failure to connect and obtainOfficeFloorMBean
.
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
-