Class Deployment
- java.lang.Object
-
- com.google.cloud.tools.appengine.operations.Deployment
-
public class Deployment extends Object
Deploy staged application and project configuration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(DeployConfiguration config)
Deploys a project to App Engine.void
deployCron(DeployProjectConfigurationConfiguration config)
Deploy cron.yaml to App Engine.void
deployDispatch(DeployProjectConfigurationConfiguration config)
Deploy dispatch.yaml to App Engine.void
deployDos(DeployProjectConfigurationConfiguration config)
Deploy dos.yaml to App Engine.void
deployIndex(DeployProjectConfigurationConfiguration config)
Deploy index.yaml to App Engine.void
deployQueue(DeployProjectConfigurationConfiguration config)
Deploy queue.yaml to App Engine.
-
-
-
Method Detail
-
deploy
public void deploy(DeployConfiguration config) throws AppEngineException
Deploys a project to App Engine.- Throws:
CloudSdkNotFoundException
- when the Cloud SDK is not installed where expectedCloudSdkOutOfDateException
- when the installed Cloud SDK is too oldAppEngineException
- when there is an issue uploading project files to the cloudIllegalArgumentException
- when a local deployable referenced by the configuration isn't found
-
deployCron
public void deployCron(DeployProjectConfigurationConfiguration config) throws AppEngineException
Deploy cron.yaml to App Engine.- Throws:
AppEngineException
-
deployDos
public void deployDos(DeployProjectConfigurationConfiguration config) throws AppEngineException
Deploy dos.yaml to App Engine.- Throws:
AppEngineException
-
deployDispatch
public void deployDispatch(DeployProjectConfigurationConfiguration config) throws AppEngineException
Deploy dispatch.yaml to App Engine.- Throws:
AppEngineException
-
deployIndex
public void deployIndex(DeployProjectConfigurationConfiguration config) throws AppEngineException
Deploy index.yaml to App Engine.- Throws:
AppEngineException
-
deployQueue
public void deployQueue(DeployProjectConfigurationConfiguration config) throws AppEngineException
Deploy queue.yaml to App Engine.- Throws:
AppEngineException
-
-