public final class JkPomMetadata<T>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JkPomMetadata.JkDeveloperInfo
Information about a developer.
|
static class |
JkPomMetadata.JkLicenseInfo
Information about a license.
|
static class |
JkPomMetadata.JkProjectInfo<T>
Information about a project.
|
static class |
JkPomMetadata.JkScmInfo<T>
Information about source control ofSystem managing the project sources.
|
Modifier and Type | Method and Description |
---|---|
JkPomMetadata<T> |
addApache2License()
R@see #addLicense(JkLicenseInfo)
|
JkPomMetadata<T> |
addDeveloper(JkPomMetadata.JkDeveloperInfo developerInfo)
Adds a developer pthis this publication.
|
JkPomMetadata<T> |
addDeveloper(java.lang.String name,
java.lang.String email,
java.lang.String organisation,
java.lang.String organisationUrl) |
JkPomMetadata<T> |
addGithubDeveloper(java.lang.String name,
java.lang.String email) |
JkPomMetadata<T> |
addGpl3License() |
JkPomMetadata<T> |
addLicense(JkPomMetadata.JkLicenseInfo licenseInfo)
Adds license information about this publication
|
JkPomMetadata<T> |
addLicense(java.lang.String name,
java.lang.String url) |
JkPomMetadata<T> |
addMitLicense() |
java.util.List<JkPomMetadata.JkDeveloperInfo> |
getDevelopers() |
java.util.List<JkPomMetadata.JkLicenseInfo> |
getLicenses() |
JkPomMetadata.JkProjectInfo<JkPomMetadata<T>> |
getProjectInfo() |
JkPomMetadata.JkScmInfo<JkPomMetadata<T>> |
getScm()
Returns the
JkPomMetadata.JkScmInfo for this publication |
static JkPomMetadata<java.lang.Void> |
of()
Creates an empty publication info.
|
static <T> JkPomMetadata<T> |
ofParent(T parent)
Creates an empty publication info.
|
public final T __
public static JkPomMetadata<java.lang.Void> of()
public static <T> JkPomMetadata<T> ofParent(T parent)
public JkPomMetadata<T> addDeveloper(JkPomMetadata.JkDeveloperInfo developerInfo)
public JkPomMetadata<T> addDeveloper(java.lang.String name, java.lang.String email, java.lang.String organisation, java.lang.String organisationUrl)
addDeveloper(JkDeveloperInfo)
public JkPomMetadata<T> addGithubDeveloper(java.lang.String name, java.lang.String email)
addDeveloper(JkDeveloperInfo)
public JkPomMetadata.JkScmInfo<JkPomMetadata<T>> getScm()
JkPomMetadata.JkScmInfo
for this publicationpublic JkPomMetadata<T> addLicense(JkPomMetadata.JkLicenseInfo licenseInfo)
public JkPomMetadata<T> addLicense(java.lang.String name, java.lang.String url)
addLicense(JkLicenseInfo)
public JkPomMetadata<T> addApache2License()
public JkPomMetadata<T> addGpl3License()
addLicense(JkLicenseInfo)
public JkPomMetadata<T> addMitLicense()
addLicense(JkLicenseInfo)
public JkPomMetadata.JkProjectInfo<JkPomMetadata<T>> getProjectInfo()
public java.util.List<JkPomMetadata.JkDeveloperInfo> getDevelopers()
public java.util.List<JkPomMetadata.JkLicenseInfo> getLicenses()