Class Link.ReleaseInfo
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.modules.Link.ReleaseInfo
 
- 
- Enclosing class:
- Link
 
 public class Link.ReleaseInfo extends java.lang.ObjectChild element describing changes to the default release properties of a linked image.
- 
- 
Constructor SummaryConstructors Constructor Description ReleaseInfo()
 - 
Method SummaryModifier and Type Method Description Link.ReleaseInfoEntrycreateAdd()Creates an uninitialized child element which can represent properties to add to the default release properties of a linked image.Link.ReleaseInfoKeycreateDelete()Creates an uninitialized child element which can represent a property key to delete from the release properties of a linked image.java.io.FilegetFile()Attribute specifying Java properties file which will replace the default release info properties for the linked image.voidsetDelete(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.voidsetFile(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 ofjlinkoptions.voidvalidate()Verifies the state of this element.
 
- 
- 
- 
Method Detail- 
getFilepublic java.io.File getFile() Attribute specifying Java properties file which will replace the default release info properties for the linked image.- Returns:
- release properties file
 
 - 
setFilepublic void setFile(java.io.File file) Sets attribute specifying Java properties file which will replace the default release info properties for the linked image.- Parameters:
- file- replacement release properties file
 
 - 
createAddpublic Link.ReleaseInfoEntry 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
 
 - 
createDeletepublic Link.ReleaseInfoKey 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
 
 - 
setDeletepublic 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.- Parameters:
- keyList- comma-separated list of property keys
- See Also:
- createDelete()
 
 - 
validatepublic void validate() Verifies the state of this element.- Throws:
- BuildException- if any child element is invalid
- See Also:
- Link.ReleaseInfoEntry.validate(),- Link.ReleaseInfoKey.validate()
 
 - 
toCommandLineOptionspublic java.util.Collection<java.lang.String> toCommandLineOptions() Converts all of this element's state to a series ofjlinkoptions.- Returns:
- new collection of jlink options based on this element's attributes and child elements
 
 
- 
 
-