Interface MoveOrRenameOperationImplementation
- All Superinterfaces:
DataFilesProviderImplementation
,MoveOperationImplementation
A preferred substitute for
MoveOperationImplementation
to be used when
the project can behave more simply, efficiently, and robustly when it is simply
being renamed (code and/or display name) without actually being moved to a new location.
In this case, MoveOperationImplementation.notifyMoving()
and MoveOperationImplementation.notifyMoved(org.netbeans.api.project.Project, java.io.File, java.lang.String)
will not be called.- Since:
- org.netbeans.modules.projectapi/1 1.31
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyRenamed
(String nueName) Notification that the rename operation has finished.void
Pre-rename notification.Methods inherited from interface org.netbeans.spi.project.DataFilesProviderImplementation
getDataFiles, getMetadataFiles
Methods inherited from interface org.netbeans.spi.project.MoveOperationImplementation
notifyMoved, notifyMoving
-
Method Details
-
notifyRenaming
Pre-rename notification. The exact meaning is left to the project's implementation; it might for example undeploy an application and remove all artifacts created by the build, in case they used the old name.- Throws:
IOException
- if an I/O operation fails
-
notifyRenamed
Notification that the rename operation has finished. The project might for example change its display name in metadata.- Parameters:
nueName
- new name for the project- Throws:
IOException
- if an I/O operation fails
-