Package caseine.project
Class CaseineJavaProject
java.lang.Object
caseine.project.CaseineCommonProject
caseine.project.CaseineJavaProject
- All Implemented Interfaces:
CaseineProject
-
Nested Class Summary
Nested classes/interfaces inherited from interface caseine.project.CaseineProject
CaseineProject.ProjectType -
Field Summary
Fields inherited from class caseine.project.CaseineCommonProject
CASEINE_VPL_ID, CASEINE_VPL_TYPE, caseineFile, CF, EF, INTERNAL_FILE, log, PATH_BIN, PATH_DOC, PATH_RESOURCES_LIB, PATH_RESOURCES_SRC, PATH_RESOURCES_TEST, PATH_SRC, PATH_TEST, PLUGIN_LIB, projectPath, RF, vplId, VPLID_0 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(boolean mvn, int template) Generates the project template.voidlocal(ClassLoader cl) Generates the local caseine templates into caseine-output.Methods inherited from class caseine.project.CaseineCommonProject
clean, documentation, fileToCaseinePath, fillCaseine, fillCaseineProjectFile, getPATH_BIN, getPATH_CORRECTED_FILES, getPATH_EXECUTION_FILES, getPATH_OUTPUT, getPATH_REQUESTED_FILES, getProjectName, getProperties, getType, getVplId, isCaseine, isGenerated, nature, push
-
Constructor Details
-
CaseineJavaProject
- Parameters:
projectPath-vplId-ide-url-token-
-
-
Method Details
-
generate
public void generate(boolean mvn, int template) throws CaseineProjectAlreadyExistingException, BadIDEException, IOException, TestDirectoryMissingException, FileMissingException, UnitTestsFileMissingException Generates the project template.- Specified by:
generatein interfaceCaseineProject- Overrides:
generatein classCaseineCommonProject- Parameters:
mvn- True if we must generate the maven pom.xmltemplate-- Throws:
CaseineProjectAlreadyExistingExceptionBadIDEExceptionIOExceptionTestDirectoryMissingExceptionFileMissingExceptionUnitTestsFileMissingException
-
local
Generates the local caseine templates into caseine-output.- Specified by:
localin interfaceCaseineProject- Overrides:
localin classCaseineCommonProject- Parameters:
cl- an optional classloader to provide dependencies- Throws:
IOException- for IO issuesClassNotFoundException- if the class is not foundMavenProjectException- if it is a maven nature of project
-