public static final class ProjectHooks.ProjectOpenedHookBuilder extends Object
ProjectOpenedHook
implementation.@NonNull public ProjectHooks.ProjectOpenedHookBuilder addClassPathType(@NonNull String classPathType)
GlobalPathRegistry
when the project is opened and unregistered when the project is closed.classPathType
- the class path type to add.ProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder addOpenPreAction(@NonNull Runnable action)
ProjectOpenedHook.projectOpened()
.action
- the action to be added.ProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder addOpenPostAction(@NonNull Runnable action)
ProjectOpenedHook.projectOpened()
.action
- the action to be added.ProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder addClosePreAction(@NonNull Runnable action)
ProjectOpenedHook.projectClosed()
.action
- the action to be added.ProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder addClosePostAction(@NonNull Runnable action)
ProjectOpenedHook.projectClosed()
.action
- the action to be added.ProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder setBuildTemplate(@NonNull URL template)
template
- the URL
of the templateProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder setBuildImplTemplate(@NonNull URL template)
template
- the URL
of the templateProjectHooks.ProjectOpenedHookBuilder
@NonNull public ProjectHooks.ProjectOpenedHookBuilder setBuildScriptProperty(@NonNull String propertyName)
ProjectProperties.BUILD_SCRIPT
is used.propertyName
- the name of property holding the name of project's build script.ProjectOperations.ProjectOperationsBuilder
@NonNull public ProjectOpenedHook build()
ProjectOpenedHook
.ProjectOpenedHook
instance