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 SummaryNested ClassesNested classes/interfaces inherited from class org.apache.maven.cling.invoker.LookupInvokerLookupInvoker.ExitException, LookupInvoker.LookupInvokerContext<O extends Options,R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>> 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class org.apache.maven.cling.invoker.LookupInvokerprotoLookup
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.LookupInvokeractivateLogging, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.cli.mvnenc.EncryptInvokerinvoke
- 
Field Details- 
OKpublic static final int OK- See Also:
 
- 
ERRORpublic static final int ERROR- See Also:
 
- 
BAD_OPERATIONpublic static final int BAD_OPERATION- See Also:
 
- 
CANCELEDpublic static final int CANCELED- See Also:
 
 
- 
- 
Constructor Details- 
DefaultEncryptInvoker
 
- 
- 
Method Details- 
execute- Specified by:
- executein class- LookupInvoker<EncryptOptions,- EncryptInvokerRequest, - DefaultEncryptInvoker.LocalContext> 
- Throws:
- Exception
 
- 
createContext- Specified by:
- createContextin class- LookupInvoker<EncryptOptions,- EncryptInvokerRequest, - DefaultEncryptInvoker.LocalContext> 
 
- 
lookup- Overrides:
- lookupin class- LookupInvoker<EncryptOptions,- EncryptInvokerRequest, - DefaultEncryptInvoker.LocalContext> 
 
- 
doExecute- Throws:
- Exception
 
- 
badGoalsErrorMessage
 
-