Class Link.ReleaseInfo
java.lang.Object
org.apache.tools.ant.taskdefs.modules.Link.ReleaseInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates an uninitialized child element which can represent properties to add to the default release properties of a linked image.Creates an uninitialized child element which can represent a property key to delete from the release properties of a linked image.getFile()
Attribute specifying Java properties file which will replace the default release info properties for the linked image.void
Sets attribute which contains a comma-separated list of property keys to delete from the release properties of a linked image.void
Sets attribute specifying Java properties file which will replace the default release info properties for the linked image.Converts all of this element's state to a series ofjlink
options.void
validate()
Verifies the state of this element.
-
Constructor Details
-
ReleaseInfo
public ReleaseInfo()
-
-
Method Details
-
getFile
Attribute specifying Java properties file which will replace the default release info properties for the linked image.- Returns:
- release properties file
-
setFile
Sets attribute specifying Java properties file which will replace the default release info properties for the linked image.- Parameters:
file
- replacement release properties file
-
createAdd
Creates an uninitialized child element which can represent properties to add to the default release properties of a linked image.- Returns:
- new, unconfigured child element
-
createDelete
Creates an uninitialized child element which can represent a property key to delete from the release properties of a linked image.- Returns:
- new, unconfigured child element
-
setDelete
Sets attribute which contains a comma-separated list of property keys to delete from the release properties of a linked image.- Parameters:
keyList
- comma-separated list of property keys- See Also:
-
validate
public void validate()Verifies the state of this element.- Throws:
BuildException
- if any child element is invalid- See Also:
-
toCommandLineOptions
Converts all of this element's state to a series ofjlink
options.- Returns:
- new collection of jlink options based on this element's attributes and child elements
-