public class IUpdateAgent extends IUnknown
{C4B1B5F4-8CDF-4923-9EF6-B92476A84109}
Constructor and Description |
---|
IUpdateAgent(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
IProgress |
checkFor()
Checks for an update.
|
IProgress |
download()
Downloads the update.
|
UpdateChannel |
getChannel()
Update channel to use for checking for updates.
|
java.lang.Long |
getCheckCount()
How many times the update check has happened already.
|
java.lang.Long |
getCheckFrequency()
The update check frequency (in seconds).
|
java.util.List<java.lang.String> |
getDependsOn()
Array of other update component names this component depends on before being able to get installed.
|
java.lang.String |
getDownloadUrl()
Download URL of the update.
|
java.lang.Boolean |
getEnabled()
Enables or disables the update component.
|
IEventSource |
getEventSource()
Event source for update agent events.
|
java.lang.Boolean |
getHidden()
Whether the update component shall be hidden from the user or not.
|
java.lang.Boolean |
getIsCheckNeeded()
Returns TRUE if an update check is needed, or FALSE if not.
|
java.lang.String |
getLastCheckDate()
Date of last update check.
|
java.lang.String |
getName()
Name of the update component.
|
java.lang.Long |
getOrder()
Order hint the update component needs to run at, in conjunction with other update components.
|
java.lang.String |
getReleaseNotes()
Release notes of the update.
|
java.lang.String |
getRepositoryURL()
Update repository URL to use for retrieving the update.
|
UpdateState |
getState()
Returns the current update state.
|
java.util.List<UpdateChannel> |
getSupportedChannels()
Returns a safe array of all supported update channels this agents offers.
|
java.lang.String |
getVersion()
Version the update contains.
|
java.lang.String |
getWebUrl()
Web URL of the update.
|
IProgress |
install()
Installs the update.
|
static IUpdateAgent |
queryInterface(IUnknown obj) |
void |
rollback()
Rolls back installing the update.
|
void |
setChannel(UpdateChannel value)
Update channel to use for checking for updates.
|
void |
setCheckFrequency(java.lang.Long value)
The update check frequency (in seconds).
|
void |
setEnabled(java.lang.Boolean value)
Enables or disables the update component.
|
void |
setRepositoryURL(java.lang.String value)
Update repository URL to use for retrieving the update.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IUpdateAgent(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
public java.lang.String getName()
public IEventSource getEventSource()
public java.lang.Long getOrder()
public java.util.List<java.lang.String> getDependsOn()
public java.lang.String getVersion()
public java.lang.String getDownloadUrl()
public java.lang.String getWebUrl()
public java.lang.String getReleaseNotes()
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean value)
value
- Booleanpublic java.lang.Boolean getHidden()
public UpdateState getState()
public java.lang.Long getCheckFrequency()
public void setCheckFrequency(java.lang.Long value)
value
- Longpublic UpdateChannel getChannel()
public void setChannel(UpdateChannel value)
value
- org.virtualbox_7_0.UpdateChannelpublic java.lang.String getRepositoryURL()
public void setRepositoryURL(java.lang.String value)
value
- Stringpublic java.lang.String getLastCheckDate()
public java.lang.Long getCheckCount()
public java.lang.Boolean getIsCheckNeeded()
public java.util.List<UpdateChannel> getSupportedChannels()
public static IUpdateAgent queryInterface(IUnknown obj)
public IProgress checkFor()
public IProgress download()
public IProgress install()
public void rollback()