jfullam.vfabric.jenkins.plugin.rest
Class ConfigUpdateRequest

java.lang.Object
  extended by jfullam.vfabric.jenkins.plugin.rest.ConfigUpdateRequest

public class ConfigUpdateRequest
extends Object

The request data that is posted to Application Director when updating an existing deployment. This will ultimately be serialized into JSON during a POST request.

Author:
Jonathan Fullam

Constructor Summary
ConfigUpdateRequest()
           
 
Method Summary
 void addProfileNodeComponentProperties(String name, HashMap<String,String> properties)
          Add a component update properties to this request object.
 ArrayList<jfullam.vfabric.jenkins.plugin.rest.ConfigUpdateRequest.ProfileNodeComponent> getProfileNodeComponents()
           
static void main(String[] args)
           
 void setProfileNodeComponents(ArrayList<jfullam.vfabric.jenkins.plugin.rest.ConfigUpdateRequest.ProfileNodeComponent> profileNodeComponents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUpdateRequest

public ConfigUpdateRequest()
Method Detail

getProfileNodeComponents

public ArrayList<jfullam.vfabric.jenkins.plugin.rest.ConfigUpdateRequest.ProfileNodeComponent> getProfileNodeComponents()

setProfileNodeComponents

public void setProfileNodeComponents(ArrayList<jfullam.vfabric.jenkins.plugin.rest.ConfigUpdateRequest.ProfileNodeComponent> profileNodeComponents)

addProfileNodeComponentProperties

public void addProfileNodeComponentProperties(String name,
                                              HashMap<String,String> properties)
Add a component update properties to this request object.

Parameters:
name - - Name of the component to update
properties - - List of properties and thier new values

main

public static void main(String[] args)


Copyright © 2004-2012. All Rights Reserved.