public class Link.ReleaseInfo
extends java.lang.Object
Constructor and Description |
---|
ReleaseInfo() |
Modifier and Type | Method and Description |
---|---|
Link.ReleaseInfoEntry |
createAdd()
Creates an uninitialized child element which can represent properties
to add to the default release properties of a linked image.
|
Link.ReleaseInfoKey |
createDelete()
Creates an uninitialized child element which can represent
a property key to delete from the release properties of
a linked image.
|
java.io.File |
getFile()
Attribute specifying Java properties file which will replace the
default release info properties for the linked image.
|
void |
setDelete(java.lang.String keyList)
Sets attribute which contains a comma-separated list of
property keys to delete from the release properties of
a linked image.
|
void |
setFile(java.io.File file)
Sets attribute specifying Java properties file which will replace
the default release info properties for the linked image.
|
java.util.Collection<java.lang.String> |
toCommandLineOptions()
Converts all of this element's state to a series of
jlink options. |
void |
validate()
Verifies the state of this element.
|
public java.io.File getFile()
public void setFile(java.io.File file)
file
- replacement release properties filepublic Link.ReleaseInfoEntry createAdd()
public Link.ReleaseInfoKey createDelete()
public void setDelete(java.lang.String keyList)
keyList
- comma-separated list of property keyscreateDelete()
public void validate()
BuildException
- if any child element is invalidLink.ReleaseInfoEntry.validate()
,
Link.ReleaseInfoKey.validate()
public java.util.Collection<java.lang.String> toCommandLineOptions()
jlink
options.