org.soyatec.windowsazure.management
Class Deployment

java.lang.Object
  extended by org.soyatec.windowsazure.management.Deployment

public class Deployment
extends java.lang.Object

This class collects and defines the information of an application deployment.

Author:
yyang

Constructor Summary
Deployment()
           
 
Method Summary
 void addInputEndpoint(InputEndpoint point)
           
 void addRole(Role role)
          Add a role for the deployment
 void addRoleInstance(RoleInstance role)
          Add a roleInstance for the deployment
 java.lang.String getConfiguration()
           
 DeploymentSlotType getDeploymentSlot()
           
 java.util.List<InputEndpoint> getInputEndpoints()
           
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 java.lang.String getPrivateId()
           
 java.util.List<RoleInstance> getRoleInstances()
           
 java.util.List<Role> getRoles()
           
 java.lang.String getSdkVersion()
           
 DeploymentStatus getStatus()
           
 int getUpgradeDomainCount()
           
 UpgradeStatus getUpgradeStatus()
           
 java.lang.String getUrl()
           
 void setConfiguration(java.lang.String configuration)
          Set the configuration of Deployment
 void setDeploymentSlot(DeploymentSlotType deploymentSlot)
          Set the deploymentSlot of Deployment
 void setInputEndpoints(java.util.List<InputEndpoint> inputEndpoints)
           
 void setLabel(java.lang.String label)
          Set the label of Deployment.
 void setName(java.lang.String name)
          Set the name of Deployment.
 void setPrivateId(java.lang.String privateId)
          Set the privateId of Deployment.
 void setRoleInstances(java.util.List<RoleInstance> roleInstances)
          Set the roleInstances of Deployment
 void setRoles(java.util.List<Role> roles)
          Set the roles of Deployment
 void setSdkVersion(java.lang.String sdkVersion)
           
 void setStatus(DeploymentStatus status)
          Set the status of Deployment.
 void setUpgradeDomainCount(int upgradeDomainCount)
          Set the upgradeDomainCount of Deployment
 void setUpgradeStatus(UpgradeStatus upgradeStatus)
          Set the upgradeStatus of Deployment
 void setUrl(java.lang.String url)
          Set the url of Deployment.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deployment

public Deployment()
Method Detail

getSdkVersion

public java.lang.String getSdkVersion()
Returns:
the sdkVersion

setSdkVersion

public void setSdkVersion(java.lang.String sdkVersion)
Parameters:
sdkVersion - the sdkVersion to set

getDeploymentSlot

public DeploymentSlotType getDeploymentSlot()
Returns:
the deploymentSlot of Deployment

setDeploymentSlot

public void setDeploymentSlot(DeploymentSlotType deploymentSlot)
Set the deploymentSlot of Deployment

Parameters:
deploymentSlot -

getUpgradeStatus

public UpgradeStatus getUpgradeStatus()
Returns:
the upgradeStatus of Deployment

setUpgradeStatus

public void setUpgradeStatus(UpgradeStatus upgradeStatus)
Set the upgradeStatus of Deployment

Parameters:
upgradeStatus -

addRoleInstance

public void addRoleInstance(RoleInstance role)
Add a roleInstance for the deployment

Parameters:
role -

addInputEndpoint

public void addInputEndpoint(InputEndpoint point)

getInputEndpoints

public java.util.List<InputEndpoint> getInputEndpoints()
Returns:
the inputEndpoints

setInputEndpoints

public void setInputEndpoints(java.util.List<InputEndpoint> inputEndpoints)
Parameters:
inputEndpoints - the inputEndpoints to set

getRoleInstances

public java.util.List<RoleInstance> getRoleInstances()
Returns:
roleInstances of the Deployment

setRoleInstances

public void setRoleInstances(java.util.List<RoleInstance> roleInstances)
Set the roleInstances of Deployment

Parameters:
roleInstances -

getRoles

public java.util.List<Role> getRoles()
Returns:
roles of the Deployment

setRoles

public void setRoles(java.util.List<Role> roles)
Set the roles of Deployment

Parameters:
roles -

addRole

public void addRole(Role role)
Add a role for the deployment

Parameters:
role -

getName

public java.lang.String getName()
Returns:
the name of Deployment

setName

public void setName(java.lang.String name)
Set the name of Deployment.

Parameters:
name -

getPrivateId

public java.lang.String getPrivateId()
Returns:
privateId of Deployment.

setPrivateId

public void setPrivateId(java.lang.String privateId)
Set the privateId of Deployment.

Parameters:
privateId -

getStatus

public DeploymentStatus getStatus()
Returns:
the status of Deployment.

setStatus

public void setStatus(DeploymentStatus status)
Set the status of Deployment.

Parameters:
status -

getLabel

public java.lang.String getLabel()
Returns:
the label of Deployment.

setLabel

public void setLabel(java.lang.String label)
Set the label of Deployment.

Parameters:
label -

getUrl

public java.lang.String getUrl()
Returns:
url of Deployment.

setUrl

public void setUrl(java.lang.String url)
Set the url of Deployment.

Parameters:
url -

getConfiguration

public java.lang.String getConfiguration()
Returns:
configuration of Deployment

setConfiguration

public void setConfiguration(java.lang.String configuration)
Set the configuration of Deployment

Parameters:
configuration -

getUpgradeDomainCount

public int getUpgradeDomainCount()
Returns:
the upgradeDomainCount of Deployment

setUpgradeDomainCount

public void setUpgradeDomainCount(int upgradeDomainCount)
Set the upgradeDomainCount of Deployment

Parameters:
upgradeDomainCount -