|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.internal.DefaultLegacySupport
@Component(role=LegacySupport.class) public class DefaultLegacySupport
Helps to provide backward-compatibility with plugins that use legacy components. Warning: This is an internal utility component that is only public for technical reasons, it is not part of the public API. In particular, this component can be changed or deleted without prior notice.
Constructor Summary | |
---|---|
DefaultLegacySupport()
|
Method Summary | |
---|---|
RepositorySystemSession |
getRepositorySession()
Gets the currently active repository session. |
MavenSession |
getSession()
Gets the currently active session. |
void |
setSession(MavenSession session)
Sets the currently active session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLegacySupport()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |