public class ReactorProjectIdentitiesStub extends ReactorProjectIdentities
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
artifactId |
private static java.lang.String |
DUMMY_GROUP_ID |
private static java.lang.String |
DUMMY_VERSION |
private java.io.File |
projectRoot |
private BuildOutputDirectory |
targetFolder |
| Constructor and Description |
|---|
ReactorProjectIdentitiesStub(java.io.File projectRoot)
Creates a dummy
ReactorProjectIdentities instance with the given directory as project
root, the "target" sub-folder as build output directory, and the last segment of the project
root path as artifactId. |
ReactorProjectIdentitiesStub(java.io.File projectRoot,
java.lang.String artifactId) |
ReactorProjectIdentitiesStub(java.lang.String artifactId)
Creates a dummy
ReactorProjectIdentities instance with a GAV with the given
artifactId. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArtifactId() |
java.io.File |
getBasedir() |
BuildOutputDirectory |
getBuildDirectory() |
java.lang.String |
getGroupId() |
java.lang.String |
getVersion() |
private static <T> T |
unlessNull(T value) |
equals, hashCodeprivate static final java.lang.String DUMMY_GROUP_ID
private static final java.lang.String DUMMY_VERSION
private final java.io.File projectRoot
private final BuildOutputDirectory targetFolder
private final java.lang.String artifactId
public ReactorProjectIdentitiesStub(java.lang.String artifactId)
ReactorProjectIdentities instance with a GAV with the given
artifactId. The project root and build directory members remain undefined.public ReactorProjectIdentitiesStub(java.io.File projectRoot)
ReactorProjectIdentities instance with the given directory as project
root, the "target" sub-folder as build output directory, and the last segment of the project
root path as artifactId.public ReactorProjectIdentitiesStub(java.io.File projectRoot,
java.lang.String artifactId)
private static <T> T unlessNull(T value)
public java.lang.String getGroupId()
getGroupId in class ReactorProjectIdentitiespublic java.lang.String getArtifactId()
getArtifactId in class ReactorProjectIdentitiespublic java.lang.String getVersion()
getVersion in class ReactorProjectIdentitiespublic java.io.File getBasedir()
getBasedir in class ReactorProjectIdentitiespublic BuildOutputDirectory getBuildDirectory()
getBuildDirectory in class ReactorProjectIdentities