@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)
LegacySupport
setSession
in interface LegacySupport
session
- The currently active session, may be null
.public MavenSession getSession()
LegacySupport
getSession
in interface LegacySupport
null
if none.public RepositorySystemSession getRepositorySession()
LegacySupport
getRepositorySession
in interface LegacySupport
null
if none.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.