Class EncryptInvoker
java.lang.Object
org.apache.maven.cling.invoker.LookupInvoker<EncryptContext>
org.apache.maven.cling.invoker.mvnenc.EncryptInvoker
- All Implemented Interfaces:
AutoCloseable, org.apache.maven.api.cli.Invoker
mvnenc invoker implementation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class LookupInvoker
contextConsumer, protoLookup -
Constructor Summary
ConstructorsConstructorDescriptionEncryptInvoker(org.apache.maven.api.services.Lookup protoLookup, Consumer<LookupContext> contextConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprotected intbadGoalsErrorMessage(String message, EncryptContext context) protected EncryptContextcreateContext(org.apache.maven.api.cli.InvokerRequest invokerRequest) protected intexecute(EncryptContext context) protected voidlookup(EncryptContext context) Methods inherited from class LookupInvoker
activateLogging, calculateDegreeOfConcurrency, configureLogging, container, createContainerCapsuleFactory, createCoreExtensionSelector, createTerminal, customizeSettingsRequest, customizeSettingsResult, describe, determineBuildEventListener, determineWriter, doConfigureWithTerminal, doConfigureWithTerminalWithRawStreamsDisabled, doConfigureWithTerminalWithRawStreamsEnabled, doCreateTerminal, doDetermineBuildEventListener, doDetermineWriter, doInvoke, handleException, helpOrVersionAndMayExit, init, invoke, localRepositoryPath, mayDisableInteractiveMode, populateRequest, populateRequestFromSettings, postCommands, postContainer, preCommands, printErrors, pushCoreProperties, pushUserProperties, settings, settings, setupGuiceClassLoading, showVersion, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.cli.Invoker
close
-
Field Details
-
OK
public static final int OK- See Also:
-
ERROR
public static final int ERROR- See Also:
-
BAD_OPERATION
public static final int BAD_OPERATION- See Also:
-
CANCELED
public static final int CANCELED- See Also:
-
-
Constructor Details
-
EncryptInvoker
public EncryptInvoker(org.apache.maven.api.services.Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer)
-
-
Method Details
-
createContext
- Specified by:
createContextin classLookupInvoker<EncryptContext>
-
lookup
- Overrides:
lookupin classLookupInvoker<EncryptContext>- Throws:
Exception
-
execute
- Specified by:
executein classLookupInvoker<EncryptContext>- Throws:
Exception
-
badGoalsErrorMessage
-