java.lang.Object
org.apache.maven.cling.invoker.mvnenc.goals.GoalSupport
org.apache.maven.cling.invoker.mvnenc.goals.Init
All Implemented Interfaces:
Goal

@Singleton @Named("init") public class Init extends GoalSupport
The "init" goal.
  • Field Summary

    Fields inherited from class org.apache.maven.cling.invoker.mvnenc.goals.GoalSupport

    messageBuilderFactory, secDispatcher
  • Constructor Summary

    Constructors
    Constructor
    Description
    Init(org.apache.maven.api.services.MessageBuilderFactory messageBuilderFactory, org.codehaus.plexus.components.secdispatcher.SecDispatcher secDispatcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.jline.consoleui.prompt.builder.PromptBuilder
    confirmPrompt(org.jline.consoleui.prompt.builder.PromptBuilder promptBuilder)
     
    protected org.jline.consoleui.prompt.builder.PromptBuilder
    dispatcherPrompt(org.jline.consoleui.prompt.builder.PromptBuilder promptBuilder)
     
    int
     

    Methods inherited from class org.apache.maven.cling.invoker.mvnenc.goals.GoalSupport

    configExists

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Init

      @Inject public Init(org.apache.maven.api.services.MessageBuilderFactory messageBuilderFactory, org.codehaus.plexus.components.secdispatcher.SecDispatcher secDispatcher)
  • Method Details

    • execute

      public int execute(EncryptContext context) throws Exception
      Throws:
      Exception
    • confirmPrompt

      protected org.jline.consoleui.prompt.builder.PromptBuilder confirmPrompt(org.jline.consoleui.prompt.builder.PromptBuilder promptBuilder)
    • dispatcherPrompt

      protected org.jline.consoleui.prompt.builder.PromptBuilder dispatcherPrompt(org.jline.consoleui.prompt.builder.PromptBuilder promptBuilder)