|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.maas.Notification
public class Notification
Helper class to access the AMQP Notification delivered by vCloud Director using vCloud API.
NotificationType| Method Summary | |
|---|---|
com.vmware.vcloud.api.rest.schema.EntityLinkType |
getBlockingTaskLink()
Deprecated. If the notification is for blocking operation, returns the blocking request link. |
com.vmware.vcloud.api.rest.schema.EntityLinkType |
getEntityLink()
Deprecated. Returns the entity link. |
EntityType |
getEntityLinkType()
Deprecated. Returns the notification entity link type. |
static Notification |
getNotification(String notificationMessage,
Map<String,Object> notificationHeaders)
Deprecated. Creating the Notification Helper. |
EventType |
getNotificationEventType()
Deprecated. Returns the notification event type. |
Map<String,Object> |
getNotificationHeaders()
Deprecated. Returns the Notification Headers. |
com.vmware.vcloud.api.rest.schema.EntityLinkType |
getOrgLink()
Deprecated. Returns the organization link. |
com.vmware.vcloud.api.rest.schema.extension.NotificationType |
getResource()
Deprecated. Returns the actual NotificationType as defined in the schema. |
com.vmware.vcloud.api.rest.schema.EntityLinkType |
getTaskOwnerLink()
Deprecated. Returns the taskOwner link. |
EntityType |
getTaskOwnerLinkType()
Deprecated. Returns the notification task owner link type. |
com.vmware.vcloud.api.rest.schema.EntityLinkType |
getUserLink()
Deprecated. Returns the user link. |
Boolean |
isBlockingTask()
Deprecated. Check if this Notification is a Blocking task. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public com.vmware.vcloud.api.rest.schema.EntityLinkType getUserLink()
throws VCloudException
User.getUserById(com.vmware.vcloud.sdk.VcloudClient, String)
EntityLinkType
VCloudException
public com.vmware.vcloud.api.rest.schema.EntityLinkType getOrgLink()
throws VCloudException
Organization.getOrganizationById(com.vmware.vcloud.sdk.VcloudClient, String)
EntityLinkType
VCloudException
public com.vmware.vcloud.api.rest.schema.EntityLinkType getTaskOwnerLink()
throws VCloudException
getTaskOwnerLinkType() in identifying the type of task owner link
entity.
EntityLinkType
VCloudException
public com.vmware.vcloud.api.rest.schema.EntityLinkType getEntityLink()
throws VCloudException
getEntityLinkType() in identifying the type of entity.
EntityLinkType
VCloudExceptiongetEntityLinkType()
public static Notification getNotification(String notificationMessage,
Map<String,Object> notificationHeaders)
notificationMessage - - The payload/xml notification message from the AMQP message StringnotificationHeaders - - notification headers received along with the notification payload/xml message
Map<String, Object >
Notificationpublic com.vmware.vcloud.api.rest.schema.extension.NotificationType getResource()
NotificationType
public Map<String,Object> getNotificationHeaders()
throws VCloudException
Map<String, Object>
VCloudException
public Boolean isBlockingTask()
throws VCloudException
Boolean
VCloudException
public com.vmware.vcloud.api.rest.schema.EntityLinkType getBlockingTaskLink()
throws VCloudException
BlockingTask.getBlockingTaskById(com.vmware.vcloud.sdk.VcloudClient, String)
EntityLinkType
VCloudException
public EventType getNotificationEventType()
throws VCloudException
EventType
VCloudException
public EntityType getEntityLinkType()
throws VCloudException
EntityType
VCloudExceptiongetEntityLink()
public EntityType getTaskOwnerLinkType()
throws VCloudException
EntityType
VCloudExceptiongetTaskOwnerLink()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||