@Component(role=LegacySupport.class) public class DefaultLegacySupport extends Object implements LegacySupport
| Constructor and Description |
|---|
DefaultLegacySupport() |
| Modifier and Type | Method and Description |
|---|---|
RepositorySystemSession |
getRepositorySession()
Gets the currently active repository session.
|
MavenSession |
getSession()
Gets the currently active session.
|
void |
setSession(MavenSession session)
Sets the currently active session.
|
public DefaultLegacySupport()
public void setSession(MavenSession session)
LegacySupportsetSession in interface LegacySupportsession - The currently active session, may be null.public MavenSession getSession()
LegacySupportgetSession in interface LegacySupportnull if none.public RepositorySystemSession getRepositorySession()
LegacySupportgetRepositorySession in interface LegacySupportnull if none.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.