@Component(role=LegacySupport.class) public class DefaultLegacySupport extends Object implements LegacySupport
Constructor and Description |
---|
DefaultLegacySupport() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.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 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 org.eclipse.aether.RepositorySystemSession getRepositorySession()
LegacySupport
getRepositorySession
in interface LegacySupport
null
if none.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.