Index
All Classes and Interfaces|All Packages
A
- asTestMap() - Method in class org.codehaus.mojo.versions.utils.TestChangeRecorder
-
Return a simple map suitable for injection in tests.
C
- close() - Method in class org.codehaus.mojo.versions.utils.CloseableTempFile
- CloseableTempFile - Class in org.codehaus.mojo.versions.utils
-
A test utility provided a closeable temporary file, implementing
AutoCloseable, which deletes the temporary file onCloseableTempFile.close(), typically upon completion of atry-finallyblock. - CloseableTempFile(String) - Constructor for class org.codehaus.mojo.versions.utils.CloseableTempFile
-
Creates a new temporary file with the given prefix
- copyDir(Path, Path) - Static method in class org.codehaus.mojo.versions.utils.TestUtils
-
Copies the
srcdirectory todstrecursively, creating the missing directories if necessary - createTempDir(String) - Static method in class org.codehaus.mojo.versions.utils.TestUtils
-
Creates a temporary directory with the given name
D
- debug(CharSequence) - Method in class org.codehaus.mojo.versions.utils.TestLog
- debug(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- debug(Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- DEBUG - Enum constant in enum org.codehaus.mojo.versions.utils.TestLog.LogLevel
-
DEBUGlog level
E
- error(CharSequence) - Method in class org.codehaus.mojo.versions.utils.TestLog
- error(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- error(Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- ERROR - Enum constant in enum org.codehaus.mojo.versions.utils.TestLog.LogLevel
-
ERRORlog level
G
- getChanges() - Method in class org.codehaus.mojo.versions.utils.TestChangeRecorder
-
Returns the list of recorded version changes in the order they were recorded.
- getLoggedMessages() - Method in class org.codehaus.mojo.versions.utils.TestLog
-
Returns an immutable list of logged messages.
- getPath() - Method in class org.codehaus.mojo.versions.utils.CloseableTempFile
-
Returns the path of the temporary file.
I
- info(CharSequence) - Method in class org.codehaus.mojo.versions.utils.TestLog
- info(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- info(Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- INFO - Enum constant in enum org.codehaus.mojo.versions.utils.TestLog.LogLevel
-
INFOlog level - isDebugEnabled() - Method in class org.codehaus.mojo.versions.utils.TestLog
- isErrorEnabled() - Method in class org.codehaus.mojo.versions.utils.TestLog
- isInfoEnabled() - Method in class org.codehaus.mojo.versions.utils.TestLog
- isWarnEnabled() - Method in class org.codehaus.mojo.versions.utils.TestLog
M
- mockAetherRepositorySystem() - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Creates a mocked RepositorySystem, providing the default version set
- mockAetherRepositorySystem(Map) - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Creates a mocked RepositorySystem, providing the version map given in the argument.
- mockArtifactHandlerManager() - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Provides a mock of the
ArtifactHandlerManagerbean - mockI18N() - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Provides a mock of the
I18Nbean - mockMavenSession() - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Creates a very simple mock of
MavenSessionby providing only a non-nullimplementation of itsMavenSession.getRepositorySession()method. - mockMavenSession(MavenProject) - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Creates a very simple mock of
MavenSessionby providing only a non-nullimplementation of itsMavenSession.getRepositorySession()method. - mockSiteTool() - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Provides a mock of the
SiteToolbean - MockUtils - Class in org.codehaus.mojo.versions.utils
-
Various mock creating utilities
O
- org.codehaus.mojo.versions.utils - package org.codehaus.mojo.versions.utils
P
- prepareAetherRepositorySystemMockForVersionRange(RepositorySystem, Map) - Static method in class org.codehaus.mojo.versions.utils.MockUtils
-
Provides an mocked
RepositorySysteminstance for the given map of version updates.
R
- recordChange(DependencyChangeRecord) - Method in class org.codehaus.mojo.versions.utils.TestChangeRecorder
-
Record a dependency version change.
- recordChange(PropertyChangeRecord) - Method in class org.codehaus.mojo.versions.utils.TestChangeRecorder
-
Record a property version change.
T
- tearDownTempDir(Path) - Static method in class org.codehaus.mojo.versions.utils.TestUtils
-
Deletes the given directory together with all its contents
- TestChangeRecorder - Class in org.codehaus.mojo.versions.utils
-
A simple
ChangeRecorderimplementation used in tests. - TestChangeRecorder() - Constructor for class org.codehaus.mojo.versions.utils.TestChangeRecorder
-
Create a new test change recorder.
- TestLog - Class in org.codehaus.mojo.versions.utils
-
A simple
Logstub, collecting logged messages in a queryable list. - TestLog() - Constructor for class org.codehaus.mojo.versions.utils.TestLog
-
Creates an empty new instance
- TestLog.LogLevel - Enum in org.codehaus.mojo.versions.utils
-
Defines the log level.
- TestUtils - Class in org.codehaus.mojo.versions.utils
-
Auxiliary test utilities
V
- valueOf(String) - Static method in enum org.codehaus.mojo.versions.utils.TestLog.LogLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.codehaus.mojo.versions.utils.TestLog.LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(CharSequence) - Method in class org.codehaus.mojo.versions.utils.TestLog
- warn(CharSequence, Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- warn(Throwable) - Method in class org.codehaus.mojo.versions.utils.TestLog
- WARN - Enum constant in enum org.codehaus.mojo.versions.utils.TestLog.LogLevel
-
WARNlog level - writeReport(Path) - Method in class org.codehaus.mojo.versions.utils.TestChangeRecorder
-
Write a report of recorded changes to the given output path.
All Classes and Interfaces|All Packages