jfullam.vfabric.jenkins.plugin.rest
Interface UserInterfaceDataService

All Known Implementing Classes:
UserInterfaceDataRestService

public interface UserInterfaceDataService

Application Service used to get values for UI select boxes.

Author:
Jonathan Fullam

Method Summary
 hudson.util.ListBoxModel getApplications()
           
 hudson.util.ListBoxModel getComponents(String deploymentId)
           
 hudson.util.ListBoxModel getDeploymentProfiles(String applicaitonId)
           
 hudson.util.ListBoxModel getDeployments()
           
 hudson.util.ListBoxModel getUpdateProperties(String component)
           
 void setRestProvider(RestProvider restProvider)
           
 

Method Detail

setRestProvider

void setRestProvider(RestProvider restProvider)

getDeployments

hudson.util.ListBoxModel getDeployments()
                                        throws ServiceException
Returns:
ListBoxModel - list of current deployments
Throws:
ServiceException

getComponents

hudson.util.ListBoxModel getComponents(String deploymentId)
                                       throws ServiceException
Parameters:
deploymentId - - ID of a current deployment
Returns:
ListBoxModel - List of application components
Throws:
ServiceException

getUpdateProperties

hudson.util.ListBoxModel getUpdateProperties(String component)
Parameters:
component - - Name of an existing component
Returns:
ListBoxModel - List of update propertes for the component

getApplications

hudson.util.ListBoxModel getApplications()
                                         throws ServiceException
Returns:
ListBoxModel - List of applications in App. Dir.
Throws:
ServiceException

getDeploymentProfiles

hudson.util.ListBoxModel getDeploymentProfiles(String applicaitonId)
                                               throws ServiceException
Parameters:
applicationId - - the id of an application (blueprint) in Application Director
Returns:
ListBoxModel - List of deployment profile for a given application
Throws:
ServiceException


Copyright © 2004-2012. All Rights Reserved.