jfullam.vfabric.jenkins.plugin.rest
Interface ProvisioningService

All Known Implementing Classes:
ProvisioningRestService

public interface ProvisioningService

Application Director service for provisioning and teardown actions.

Author:
Jonathan Fullam

Method Summary
 ServiceResult scheduleDeployment(String deploymentProfielId)
          Schedule the deployment of an application based on a deployment profile.
 void setRestProvider(RestProvider restProvider)
           
 ServiceResult tearDown(String applicationName, String deploymentProfileName)
          Schedule the teardown an existing deployment
 

Method Detail

tearDown

ServiceResult tearDown(String applicationName,
                       String deploymentProfileName)
                       throws ServiceException
Schedule the teardown an existing deployment

Parameters:
applicationName - - The name of the application
deploymentProfileName - - deployment profile name
Returns:
ServiceResult - based on the response from Application Director
Throws:
ServiceException

scheduleDeployment

ServiceResult scheduleDeployment(String deploymentProfielId)
                                 throws ServiceException
Schedule the deployment of an application based on a deployment profile.

Parameters:
deploymentProfielId -
Returns:
ServiceResult - based on the response from Application Director
Throws:
ServiceException

setRestProvider

void setRestProvider(RestProvider restProvider)


Copyright © 2004-2012. All Rights Reserved.