Package org.apache.maven.cling
Class ClingSupport<O extends Options,R extends InvokerRequest<O>>
java.lang.Object
org.apache.maven.cling.ClingSupport<O,R>
- Type Parameters:
O
- the options typeR
- the request type
- Direct Known Subclasses:
MavenCling
,MavenEncCling
The CLI "new-gen".
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.codehaus.plexus.classworlds.ClassWorld
protected final boolean
-
Constructor Summary
ConstructorDescriptionCtor that creates "managed" ClassWorld.ClingSupport
(org.codehaus.plexus.classworlds.ClassWorld classWorld) Ctor to be used when running in ClassWorlds Launcher. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract R
parseArguments
(String[] args) int
The main entry point.
-
Field Details
-
classWorld
protected final org.codehaus.plexus.classworlds.ClassWorld classWorld -
classWorldManaged
protected final boolean classWorldManaged
-
-
Constructor Details
-
ClingSupport
public ClingSupport()Ctor that creates "managed" ClassWorld. This constructor is not used in "normal" circumstances. -
ClingSupport
public ClingSupport(org.codehaus.plexus.classworlds.ClassWorld classWorld) Ctor to be used when running in ClassWorlds Launcher.
-
-
Method Details
-
run
The main entry point.- Throws:
IOException
-
createInvoker
-
parseArguments
- Throws:
ParserException
IOException
-