org.eclipse.tigerstripe.workbench.project
Class GeneratorDeploymentHelper

java.lang.Object
  extended by org.eclipse.tigerstripe.workbench.project.GeneratorDeploymentHelper

public class GeneratorDeploymentHelper
extends java.lang.Object

This helper contains the deployment logic for Generator projects. To "deploy" a generator project: ... ITigerstripeM1GeneratorProject proj = ... GeneratorDeploymentHelper helper = new GeneratorDeployementHelper(); IPath location = helper.deploy(proj, monitor); ...

Author:
erdillon

Constructor Summary
GeneratorDeploymentHelper()
           
 
Method Summary
 boolean canDeploy(ITigerstripeGeneratorProject project)
          Returns true if the given project can be deployed as is.
 boolean canUndeploy(ITigerstripeGeneratorProject project)
          Returns true if the given project has already been deployed and can be un-deployed.
 IPath deploy(ITigerstripeGeneratorProject project, IProgressMonitor monitor)
           
 IPath unDeploy(ITigerstripeGeneratorProject project, IProgressMonitor monitor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorDeploymentHelper

public GeneratorDeploymentHelper()
Method Detail

deploy

public IPath deploy(ITigerstripeGeneratorProject project,
                    IProgressMonitor monitor)
             throws TigerstripeException
Throws:
TigerstripeException

unDeploy

public IPath unDeploy(ITigerstripeGeneratorProject project,
                      IProgressMonitor monitor)
               throws TigerstripeException
Throws:
TigerstripeException

canDeploy

public boolean canDeploy(ITigerstripeGeneratorProject project)
                  throws TigerstripeException
Returns true if the given project can be deployed as is.

Returns:
Throws:
TigerstripeException

canUndeploy

public boolean canUndeploy(ITigerstripeGeneratorProject project)
                    throws TigerstripeException
Returns true if the given project has already been deployed and can be un-deployed.

Parameters:
project -
Returns:
Throws:
TigerstripeException