@OpenApiAll
public interface SaveParticipant
Modifier and Type | Method and Description |
---|---|
void |
doAfterSave(Project project,
ProjectDescriptor descriptor)
Describes any actions to do after project saving.
|
void |
doBeforeSave(Project project,
ProjectDescriptor descriptor)
Describes any actions to do before project saving.
|
default boolean |
isReadyForCommit(IProject project,
java.lang.String comment)
Indicates ability to commit project.
|
boolean |
isReadyForSave(Project project,
ProjectDescriptor descriptor)
Indicates ability to save project.
|
boolean isReadyForSave(Project project, ProjectDescriptor descriptor)
project
- the project prepared for saving.descriptor
- the project location descriptor.void doBeforeSave(Project project, ProjectDescriptor descriptor)
project
- the project prepared for saving.descriptor
- the project location descriptor.void doAfterSave(Project project, ProjectDescriptor descriptor)
project
- the project.descriptor
- the project location descriptor.default boolean isReadyForCommit(IProject project, @CheckForNull java.lang.String comment)
project
- the project prepared for saving.comment
- commit comment