public abstract class ProjectInformation extends DependencyInformation
Modifier | Constructor and Description |
---|---|
protected |
ProjectInformation(String name)
Creates a new project information object with the given name.
|
protected |
ProjectInformation(String internalName,
String publicName)
Creates a new project information object with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addLibrary(DependencyInformation library)
Adds a library.
|
protected void |
addOptionalLibrary(DependencyInformation library)
Adds an optional library.
|
protected void |
addOptionalLibrary(String libraryClass)
Adds an optional library.
|
String |
getBootClass()
Returns the boot class.
|
String |
getCopyright()
Returns the copyright string for thie project.
|
String |
getInternalName()
Returns the internal name of the project.
|
DependencyInformation[] |
getLibraries()
Returns a list of libraries used by the project.
|
DependencyInformation[] |
getOptionalLibraries()
Returns a list of optional libraries used by the project.
|
String |
getProductId()
Returns the product ID from the Manifest.
|
String |
getReleaseBuildNumber()
Returns the release build number from the Manifest.
|
String |
getReleaseCandidateToken()
Returns the release candidate token from the Manifest.
|
String |
getReleaseMajor()
Returns the release major version number from the Manifest.
|
String |
getReleaseMilestone()
Returns the release milestone number from the Manifest.
|
String |
getReleaseMinor()
Returns the release minor version number from the Manifest.
|
String |
getReleaseNumber()
Returns the release number from the Manifest.
|
String |
getVersion()
Returns the version number from the Manifest.
|
protected void |
setBootClass(String bootClass)
Redefines the boot class.
|
protected void |
setCopyright(String copyright)
Updates the copyright string for thie project.
|
equals, getInfo, getLicenseName, getName, hashCode, setInfo, setLicenseName, setVersion
protected ProjectInformation(String name)
name
- the name of the project, when internal and public names are equal.protected ProjectInformation(String internalName, String publicName)
internalName
- the internal name of the project.publicName
- the public name of the project.public String getCopyright()
protected void setCopyright(String copyright)
copyright
- the copyright string.public String getInternalName()
public String getBootClass()
protected void setBootClass(String bootClass)
bootClass
- the bootclass (might be null).public DependencyInformation[] getLibraries()
public void addLibrary(DependencyInformation library)
library
- the library.public DependencyInformation[] getOptionalLibraries()
protected void addOptionalLibrary(String libraryClass)
libraryClass
- the library.protected void addOptionalLibrary(DependencyInformation library)
library
- the library.public String getVersion()
getVersion
in class DependencyInformation
public String getProductId()
public String getReleaseMilestone()
public String getReleaseMinor()
public String getReleaseMajor()
public String getReleaseCandidateToken()
public String getReleaseNumber()
public String getReleaseBuildNumber()
Copyright © 2017 Hitachi Vantara. All rights reserved.