mirror of https://github.com/apache/jclouds.git
Minor fixups
This commit is contained in:
parent
fd616ddbed
commit
2e67af2075
|
@ -95,6 +95,7 @@ public class Link extends Reference {
|
||||||
@XmlEnumValue("remove") REMOVE("remove"),
|
@XmlEnumValue("remove") REMOVE("remove"),
|
||||||
@XmlEnumValue("screen:acquireTicket") SCREEN_ACQUIRE_TICKET("screen:acquireTicket"),
|
@XmlEnumValue("screen:acquireTicket") SCREEN_ACQUIRE_TICKET("screen:acquireTicket"),
|
||||||
@XmlEnumValue("screen:thumbnail") SCREEN_THUMBNAIL("screen:thumbnail"),
|
@XmlEnumValue("screen:thumbnail") SCREEN_THUMBNAIL("screen:thumbnail"),
|
||||||
|
@XmlEnumValue("syncSyslogSettings") SYNC_SYSLOG_SETTINGS("syncSyslogSettings"),
|
||||||
@XmlEnumValue("task:cancel") TASK_CANCEL("task:cancel"),
|
@XmlEnumValue("task:cancel") TASK_CANCEL("task:cancel"),
|
||||||
@XmlEnumValue("blockingTask") BLOCKING_TASK("blockingTask"),
|
@XmlEnumValue("blockingTask") BLOCKING_TASK("blockingTask"),
|
||||||
@XmlEnumValue("taskOwner") TASK_OWNER("taskOwner"),
|
@XmlEnumValue("taskOwner") TASK_OWNER("taskOwner"),
|
||||||
|
@ -121,7 +122,7 @@ public class Link extends Reference {
|
||||||
NEXT_PAGE, OVA, OVF, POWER_OFF, POWER_ON, REBOOT, RESET, SHUTDOWN,
|
NEXT_PAGE, OVA, OVF, POWER_OFF, POWER_ON, REBOOT, RESET, SHUTDOWN,
|
||||||
SUSPEND, PREVIOUS_PAGE, PUBLISH, RECOMPOSE, RECONNECT, REGISTER,
|
SUSPEND, PREVIOUS_PAGE, PUBLISH, RECOMPOSE, RECONNECT, REGISTER,
|
||||||
REJECT, RELOCATE, REMOVE, REPAIR, SCREEN_ACQUIRE_TICKET,
|
REJECT, RELOCATE, REMOVE, REPAIR, SCREEN_ACQUIRE_TICKET,
|
||||||
SCREEN_THUMBNAIL, TASK_CANCEL, BLOCKING_TASK, TASK_OWNER,
|
SCREEN_THUMBNAIL, SYNC_SYSLOG_SETTINGS, TASK_CANCEL, BLOCKING_TASK, TASK_OWNER,
|
||||||
TASK_PARAMS, TASK_REQUEST, UNDEPLOY, UNLOCK, UNREGISTER, UP,
|
TASK_PARAMS, TASK_REQUEST, UNDEPLOY, UNLOCK, UNREGISTER, UP,
|
||||||
UPDATE_PROGRESS, UPGRADE, UPLOAD_ALTERNATE, UPLOAD_DEFAULT,
|
UPDATE_PROGRESS, UPGRADE, UPLOAD_ALTERNATE, UPLOAD_DEFAULT,
|
||||||
UPLOAD_DEFAULT);
|
UPLOAD_DEFAULT);
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.vcloud.director.v1_5.domain;
|
||||||
|
|
||||||
import static com.google.common.base.Objects.equal;
|
import static com.google.common.base.Objects.equal;
|
||||||
import static com.google.common.base.Preconditions.checkNotNull;
|
import static com.google.common.base.Preconditions.checkNotNull;
|
||||||
|
import static org.jclouds.dmtf.DMTFConstants.OVF_NS;
|
||||||
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_1_5_NS;
|
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_1_5_NS;
|
||||||
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_VMW_NS;
|
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_VMW_NS;
|
||||||
|
|
||||||
|
@ -44,7 +45,7 @@ import com.google.common.collect.Sets;
|
||||||
* @author Adam Lowe
|
* @author Adam Lowe
|
||||||
* @author grkvlt@apache.org
|
* @author grkvlt@apache.org
|
||||||
*/
|
*/
|
||||||
@XmlRootElement(name = "OperatingSystemSection")
|
@XmlRootElement(name = "OperatingSystemSection", namespace = OVF_NS)
|
||||||
@XmlType(name = "OperatingSystemSection_Type")
|
@XmlType(name = "OperatingSystemSection_Type")
|
||||||
@XmlSeeAlso({ org.jclouds.dmtf.ovf.OperatingSystemSection.class })
|
@XmlSeeAlso({ org.jclouds.dmtf.ovf.OperatingSystemSection.class })
|
||||||
public class OperatingSystemSection extends org.jclouds.dmtf.ovf.OperatingSystemSection {
|
public class OperatingSystemSection extends org.jclouds.dmtf.ovf.OperatingSystemSection {
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.vcloud.director.v1_5.domain;
|
||||||
|
|
||||||
import static com.google.common.base.Objects.equal;
|
import static com.google.common.base.Objects.equal;
|
||||||
import static com.google.common.base.Preconditions.checkNotNull;
|
import static com.google.common.base.Preconditions.checkNotNull;
|
||||||
|
import static org.jclouds.dmtf.DMTFConstants.OVF_NS;
|
||||||
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_1_5_NS;
|
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_1_5_NS;
|
||||||
|
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
|
@ -42,7 +43,7 @@ import com.google.common.collect.Sets;
|
||||||
*
|
*
|
||||||
* @author grkvlt@apache.org
|
* @author grkvlt@apache.org
|
||||||
*/
|
*/
|
||||||
@XmlRootElement(name = "VirtualHardwareSection")
|
@XmlRootElement(name = "VirtualHardwareSection", namespace = OVF_NS)
|
||||||
@XmlType(name = "VirtualHardwareSection_Type")
|
@XmlType(name = "VirtualHardwareSection_Type")
|
||||||
@XmlSeeAlso({ org.jclouds.dmtf.ovf.VirtualHardwareSection.class })
|
@XmlSeeAlso({ org.jclouds.dmtf.ovf.VirtualHardwareSection.class })
|
||||||
public class VirtualHardwareSection extends org.jclouds.dmtf.ovf.VirtualHardwareSection {
|
public class VirtualHardwareSection extends org.jclouds.dmtf.ovf.VirtualHardwareSection {
|
||||||
|
|
|
@ -204,7 +204,7 @@ public interface VAppTemplateAsyncClient {
|
||||||
* @see VAppTemplateClient#getNetworkConnectionSection(URI)
|
* @see VAppTemplateClient#getNetworkConnectionSection(URI)
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@Consumes(NETWORK_CONFIG_SECTION)
|
@Consumes(NETWORK_CONNECTION_SECTION)
|
||||||
@Path("/networkConnectionSection")
|
@Path("/networkConnectionSection")
|
||||||
@JAXBResponseParser
|
@JAXBResponseParser
|
||||||
@ExceptionParser(ReturnNullOnNotFoundOr404.class)
|
@ExceptionParser(ReturnNullOnNotFoundOr404.class)
|
||||||
|
|
Loading…
Reference in New Issue