Package rife.bld.operations
Class CreateLibOperation
java.lang.Object
rife.bld.operations.AbstractOperation<AbstractCreateOperation<T,P>>
rife.bld.operations.AbstractCreateOperation<CreateLibOperation,Project>
rife.bld.operations.CreateLibOperation
Creates a new lib project structure.
- Since:
- 1.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Indicates whether the IDEA main run target should be generatedprotected Project
Create a blueprint of the project.protected String
projectMainClassName
(String projectClassName) Generates the main class name from the project class nameMethods inherited from class rife.bld.operations.AbstractCreateOperation
downloadDependencies, downloadDependencies, execute, executeConfigure, executeCreateProjectStructure, executeDownloadDependencies, executePopulateIdeaProject, executePopulateProjectStructure, executePopulateVscodeProject, fromArguments, packageName, packageName, project, projectBuildClassName, projectMainUberClassName, projectName, projectName, projectTestClassName, workDirectory, workDirectory
Methods inherited from class rife.bld.operations.AbstractOperation
executeOnce, executeOnce, silent, silent
-
Constructor Details
-
CreateLibOperation
public CreateLibOperation()
-
-
Method Details
-
createProjectBlueprint
Description copied from class:AbstractCreateOperation
Create a blueprint of the project.- Specified by:
createProjectBlueprint
in classAbstractCreateOperation<CreateLibOperation,
Project> - Returns:
- a blueprint for project creation
-
projectMainClassName
Description copied from class:AbstractCreateOperation
Generates the main class name from the project class name- Overrides:
projectMainClassName
in classAbstractCreateOperation<CreateLibOperation,
Project> - Parameters:
projectClassName
- the project class name- Returns:
- the generated main class name
-
createIdeaRunMain
protected boolean createIdeaRunMain()Description copied from class:AbstractCreateOperation
Indicates whether the IDEA main run target should be generated- Overrides:
createIdeaRunMain
in classAbstractCreateOperation<CreateLibOperation,
Project> - Returns:
true
of it should be generated; orfalse
otherwise
-