Class DefaultEncryptInvoker
java.lang.Object
org.apache.maven.cling.invoker.LookupInvoker<EncryptOptions,EncryptInvokerRequest,DefaultEncryptInvoker.LocalContext>
org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker
- All Implemented Interfaces:
AutoCloseable,Invoker<EncryptInvokerRequest>,EncryptInvoker
public class DefaultEncryptInvoker
extends LookupInvoker<EncryptOptions,EncryptInvokerRequest,DefaultEncryptInvoker.LocalContext>
implements EncryptInvoker
Encrypt invoker implementation, when Encrypt CLI is being run. System uses ClassWorld launcher, and class world
instance is passed in via "enhanced" main method. Hence, this class expects fully setup ClassWorld via constructor.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.maven.cling.invoker.LookupInvoker
LookupInvoker.ExitException, LookupInvoker.LookupInvokerContext<O extends Options,R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class org.apache.maven.cling.invoker.LookupInvoker
protoLookup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intbadGoalsErrorMessage(String message, DefaultEncryptInvoker.LocalContext context) protected DefaultEncryptInvoker.LocalContextcreateContext(EncryptInvokerRequest invokerRequest) protected intprotected intprotected voidlookup(DefaultEncryptInvoker.LocalContext context) Methods inherited from class org.apache.maven.cling.invoker.LookupInvoker
activateLogging, calculateDegreeOfConcurrency, configureLogging, container, createContainerCapsuleFactory, createTerminal, customizeSettingsRequest, customizeSettingsResult, determineBuildEventListener, determineTransferListener, doConfigureWithTerminal, doDetermineBuildEventListener, doInvoke, handleException, helpOrVersionAndMayExit, init, invoke, isRunningOnCI, localRepositoryPath, mayDisableInteractiveMode, populateRequest, populateRequestFromSettings, postCommands, preCommands, prepare, pushProperties, settings, settings, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.cli.mvnenc.EncryptInvoker
invoke
-
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
-
DefaultEncryptInvoker
-
-
Method Details
-
execute
- Specified by:
executein classLookupInvoker<EncryptOptions,EncryptInvokerRequest, DefaultEncryptInvoker.LocalContext> - Throws:
Exception
-
createContext
- Specified by:
createContextin classLookupInvoker<EncryptOptions,EncryptInvokerRequest, DefaultEncryptInvoker.LocalContext>
-
lookup
- Overrides:
lookupin classLookupInvoker<EncryptOptions,EncryptInvokerRequest, DefaultEncryptInvoker.LocalContext>
-
doExecute
- Throws:
Exception
-
badGoalsErrorMessage
-