public interface WagonProvider
Modifier and Type | Method and Description |
---|---|
org.apache.maven.wagon.Wagon |
lookup(String roleHint)
Acquires a wagon instance that matches the specified role hint.
|
void |
release(org.apache.maven.wagon.Wagon wagon)
Releases the specified wagon.
|
org.apache.maven.wagon.Wagon lookup(String roleHint) throws Exception
roleHint
- The role hint to get a wagon for, must not be null
.null
.Exception
- If no wagon could be retrieved for the specified role hint.void release(org.apache.maven.wagon.Wagon wagon)
wagon
- The wagon to release, may be null
.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.