1   package com.atlassian.maven.plugins.amps.product;
2   
3   import java.io.File;
4   
5   import org.apache.maven.plugin.MojoExecutionException;
6   
7   import com.atlassian.maven.plugins.amps.Product;
8   
9   public interface ProductHandler
10  {
11      /**
12       * @return the webapp id
13       */
14      String getId();
15  
16      int start(Product ctx) throws MojoExecutionException;
17  
18      void stop(Product ctx) throws MojoExecutionException;
19  
20      int getDefaultHttpPort();
21  
22      File getHomeDirectory(Product product);
23  }