Class VmGraphicsConsolesServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VmGraphicsConsolesServiceImpl
-
- All Implemented Interfaces:
Service
,VmGraphicsConsolesService
public class VmGraphicsConsolesServiceImpl extends ServiceImpl implements VmGraphicsConsolesService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VmGraphicsConsolesService
VmGraphicsConsolesService.AddRequest, VmGraphicsConsolesService.AddResponse, VmGraphicsConsolesService.ListRequest, VmGraphicsConsolesService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description VmGraphicsConsolesServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmGraphicsConsolesService.AddRequest
add()
Add new graphics console to the virtual machine.VmGraphicsConsoleService
consoleService(String id)
Returns a reference to the service that manages a specific virtual machine graphics console.VmGraphicsConsolesService.ListRequest
list()
Lists all the configured graphics consoles of the virtual machine.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VmGraphicsConsolesServiceImpl
public VmGraphicsConsolesServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public VmGraphicsConsolesService.AddRequest add()
Description copied from interface:VmGraphicsConsolesService
Add new graphics console to the virtual machine.- Specified by:
add
in interfaceVmGraphicsConsolesService
-
list
public VmGraphicsConsolesService.ListRequest list()
Description copied from interface:VmGraphicsConsolesService
Lists all the configured graphics consoles of the virtual machine. IMPORTANT: By default, when the `current` parameter is not specified, the data returned corresponds to the next execution of the virtual machine. In the current implementation of the system this means that the `address` and `port` attributes will not be populated because the system does not know what address and port will be used for the next execution. Since in most cases those attributes are needed, it is strongly advised to aways explicitly include the `current` parameter with the value `true`. The order of the returned list of graphics consoles is not guaranteed.- Specified by:
list
in interfaceVmGraphicsConsolesService
-
consoleService
public VmGraphicsConsoleService consoleService(String id)
Description copied from interface:VmGraphicsConsolesService
Returns a reference to the service that manages a specific virtual machine graphics console.- Specified by:
consoleService
in interfaceVmGraphicsConsolesService
-
service
public Service service(String path)
Description copied from interface:VmGraphicsConsolesService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVmGraphicsConsolesService
-
-