This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<class package="org.netbeans.spi.autoupdate" name="UpdateItem"/>
<issue number="162673"/>
</change>
<change id="new-operation-container">
<api name="general"/>
<summary>New operation type introduced together with method for create appropriate container</summary>
<version major="1" minor="11"/>
<date day="19" month="8" year="2009"/>
<author login="dlipin"/>
<compatibility semantic="compatible"/>
<description>
<p>
New operation type - <code>OperationSupport.OperationType.INTERNAL_UPDATE</code> is introduced.
This operation can be used to find out elements which have updates and
which the particular element has the dependency on.
</p>
</description>
<class package="org.netbeans.api.autoupdate" name="OperationSupport"/>
<class package="org.netbeans.api.autoupdate" name="OperationContainer"/>
<issue number="141714"/>
</changes>
<!-- Now the surrounding HTML text and document structure: -->
}
/**
* The factory method to construct instance of <code>OperationContainer</code> for install operation
* @return newly constructed instance of <code>OperationContainer</code> for install operation
*/
public static OperationContainer<InstallSupport> createForInternalUpdate() {
OperationContainer<InstallSupport> retval =
new OperationContainer<InstallSupport>(OperationContainerImpl.createForInternalUpdate(), new InstallSupport());
retval.getSupportInner ().setContainer(retval);
return retval;
case CUSTOM_UNINSTALL:
impl = OperationSupportImpl.forCustomUninstall ();
break;
case INTERNAL_UPDATE:
impl = OperationSupportImpl.forInternalUpdate ();
default:
assert false : "Unknown OperationSupport for type " + type;