public class CopyrightConfiguration extends Object
The copyright configuration.
Constructor and Description |
---|
CopyrightConfiguration()
Creates the configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Returns the comment.
|
String |
getCopyright()
Returns the copyright.
|
String |
getDisclaimer()
Returns the disclaimer.
|
File |
getFile()
Returns the file.
|
List<CopyrightFilesConfiguration> |
getFiles()
Returns the files copyright configurations.
|
CopyrightLicenseConfiguration |
getLicense()
Returns the license configuration.
|
List<CopyrightLicenseConfiguration> |
getLicenses()
Returns the configurations of the licenses.
|
String |
getSource()
Returns the source.
|
String |
getUpstreamContact()
Returns the upstream contact.
|
String |
getUpstreamName()
Returns the name upstream uses for the software.
|
void |
setComment(String comment)
Sets the comment.
|
void |
setCopyright(String copyright)
Sets the copyright.
|
void |
setDisclaimer(String disclaimer)
Sets the disclaimer.
|
void |
setFile(File file)
Sets the file.
|
void |
setFiles(List<CopyrightFilesConfiguration> files)
Sets the files copyright configurations.
|
void |
setLicense(CopyrightLicenseConfiguration license)
Sets the license configuration.
|
void |
setLicenses(List<CopyrightLicenseConfiguration> licenses)
Sets the configurations of the licenses.
|
void |
setSource(String source)
Sets the source.
|
void |
setUpstreamContact(String upstreamContact)
Sets the upstream contact.
|
void |
setUpstreamName(String upstreamName)
Sets the name upstream uses for the software.
|
public CopyrightConfiguration()
Creates the configuration.
public File getFile()
Returns the file.
null
, if no file is set.public void setFile(File file)
Sets the file.
file
- The file.public String getUpstreamName()
Returns the name upstream uses for the software.
null
, if no name is set.public void setUpstreamName(String upstreamName)
Sets the name upstream uses for the software.
upstreamName
- The name.public String getUpstreamContact()
Returns the upstream contact.
null
, if no upstream contact
is set.public void setUpstreamContact(String upstreamContact)
Sets the upstream contact.
upstreamContact
- The upstream contact.public String getSource()
Returns the source.
public void setSource(String source)
Sets the source.
source
- The source.public String getDisclaimer()
Returns the disclaimer.
public void setDisclaimer(String disclaimer)
Sets the disclaimer.
disclaimer
- The disclaimer.public String getComment()
Returns the comment.
null
, if no comment is set.public void setComment(String comment)
Sets the comment.
comment
- The comment.public CopyrightLicenseConfiguration getLicense()
Returns the license configuration.
null
, if no license
configuration is set.public void setLicense(CopyrightLicenseConfiguration license)
Sets the license configuration.
license
- The license configuration.public String getCopyright()
Returns the copyright.
null
, if no copyright is set.public void setCopyright(String copyright)
Sets the copyright.
copyright
- The copyright.public List<CopyrightFilesConfiguration> getFiles()
Returns the files copyright configurations.
public void setFiles(List<CopyrightFilesConfiguration> files)
Sets the files copyright configurations.
files
- The files copyright configurations.public List<CopyrightLicenseConfiguration> getLicenses()
Returns the configurations of the licenses.
public void setLicenses(List<CopyrightLicenseConfiguration> licenses)
Sets the configurations of the licenses.
licenses
- The configurations.Copyright © 2015–2019. All rights reserved.