public class FilesCopyrightImpl extends Object implements FilesCopyright
A FilesCopyright implementation.
| Constructor and Description |
|---|
FilesCopyrightImpl()
Creates a copyright for certain files of a Debian package.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Returns the comment.
|
String |
getCopyright()
Returns the copyright.
|
List<String> |
getFiles()
Returns the patterns for which files the copyright applies.
|
CopyrightLicense |
getLicense()
Returns the license.
|
void |
setComment(String comment)
Sets the comment.
|
void |
setCopyright(String copyright)
Sets the copyright.
|
void |
setFiles(List<String> files)
Sets the patterns for which files the copyright applies.
|
void |
setLicense(CopyrightLicense license)
Sets the license.
|
public FilesCopyrightImpl()
Creates a copyright for certain files of a Debian package.
public List<String> getFiles()
FilesCopyrightReturns the patterns for which files the copyright applies.
getFiles in interface FilesCopyrightpublic void setFiles(List<String> files)
Sets the patterns for which files the copyright applies.
files - The patterns.public String getCopyright()
FilesCopyrightReturns the copyright.
getCopyright in interface FilesCopyrightnull, if no copyright is set.Copyright.getCopyright()public void setCopyright(String copyright)
Sets the copyright.
copyright - The copyright.public CopyrightLicense getLicense()
FilesCopyrightReturns the license.
The returned license can be reference to one of the licenses returned by
the Copyright.getLicenses() method.
getLicense in interface FilesCopyrightnull, if no license is set.public void setLicense(CopyrightLicense license)
Sets the license.
license - The license.public String getComment()
FilesCopyrightReturns the comment.
getComment in interface FilesCopyrightnull, if no comment is set.Copyright.getComment()public void setComment(String comment)
Sets the comment.
comment - The comment.Copyright © 2015–2019. All rights reserved.