jfullam.vfabric.jenkins.plugin.rest
Class UpdateRestService

java.lang.Object
  extended by jfullam.vfabric.jenkins.plugin.rest.UpdateRestService
All Implemented Interfaces:
UpdateService

public class UpdateRestService
extends Object
implements UpdateService

REST access to Application Director deployment update capabilities

Author:
Jonathan Fullam

Constructor Summary
UpdateRestService()
           
 
Method Summary
 void setRestProvider(RestProvider restProvider)
           
 ServiceResult updateDeployment(String deployment, String component, String updateProperty, String updatePropertyValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateRestService

public UpdateRestService()
Method Detail

updateDeployment

public ServiceResult updateDeployment(String deployment,
                                      String component,
                                      String updateProperty,
                                      String updatePropertyValue)
                               throws ServiceException
Specified by:
updateDeployment in interface UpdateService
Parameters:
deployment - - deploymentId of an existing deployment
component - - component to update
updateProperty - - propert to update
Returns:
ServiceResult - the result of making the call to Application Director
Throws:
ServiceException

setRestProvider

public void setRestProvider(RestProvider restProvider)
Specified by:
setRestProvider in interface UpdateService


Copyright © 2004-2012. All Rights Reserved.