Class JkIntellijIml.Component
java.lang.Object
dev.jeka.core.api.tooling.intellij.JkIntellijIml.Component
- Enclosing class:
JkIntellijIml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddModuleLibraryOrderEntry(Path path, JkIntellijIml.Scope scope) addModuleOrderEntry(String moduleName, JkIntellijIml.Scope scope) List<dev.jeka.core.api.tooling.intellij.JkIntellijIml.OrderEntry> replaceLibByModule(String libPathEndsWithFilter, String moduleName) Replaces the specified library with the specified module.setContent(JkIntellijIml.Content content) setExcludeOutput(boolean excludeOutput) setModuleAttributes(String moduleName, JkIntellijIml.Scope scope, Boolean exported) Sets the scope and exported attribute to the specified module.setOutputTest(String outputTest) setSdk(JkIntellijJdk intellijJdk)
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
getContent
-
setOutput
-
setOutputTest
-
setExcludeOutput
-
setContent
-
setSdk
-
getOrderEntries
-
addModuleLibraryOrderEntry
-
addModuleOrderEntry
-
replaceLibByModule
Replaces the specified library with the specified module. The library is specified by the end of its path. For example, '-foo.bar' will replace 'mylibs/core-foo.jar' by the specified module. Only the first matching lib is replaced. -
setModuleAttributes
public JkIntellijIml.Component setModuleAttributes(String moduleName, JkIntellijIml.Scope scope, Boolean exported) Sets the scope and exported attribute to the specified module.- Parameters:
moduleName- The module to set attributes on.scope- If null, scope remains unchanged.exported- If null, scope remains unchanged.- Returns:
- This object for chaining.
-