DominikSuess commented on code in PR #165:
URL:
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/165#discussion_r1176152073
##########
src/main/java/org/apache/sling/feature/cpconverter/ContentPackage2FeatureModelConverter.java:
##########
@@ -117,6 +117,19 @@ public class ContentPackage2FeatureModelConverter extends
BaseVaultPackageScanne
private IndexManager indexManager = new DefaultIndexManager();
+ private RunmodePolicy runmodePolicy = RunmodePolicy.DIRECT_ONLY;
+
+ public enum RunmodePolicy {
Review Comment:
fixed
##########
src/main/java/org/apache/sling/feature/cpconverter/cli/ContentPackage2FeatureModelConverterLauncher.java:
##########
@@ -145,6 +146,9 @@ public final class
ContentPackage2FeatureModelConverterLauncher implements Runna
@Option(names = { "--sling-initial-content-policy" }, description =
"Determines what to do with Sling-Initial-Content found in embedded bundles.
Valid values: ${COMPLETION-CANDIDATES}.", required = false, showDefaultValue =
Visibility.ALWAYS)
private SlingInitialContentPolicy slingInitialContentPolicy =
SlingInitialContentPolicy.KEEP;
+
+ @Option(names = { "--runmode-policy" }, description = "Determines how to
determine the final runmode of an artifac. Valid values:
${COMPLETION-CANDIDATES}.", required = false, showDefaultValue =
Visibility.ALWAYS)
Review Comment:
updated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]