Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Extending the Installer Programmatically

Warning

NOTE than in V5 it will no longer be possible to programatically extend the Installer. Property driven installs will still be supported.

The main point of extension is the InstallerProperties interface and the concrete (and extendable) InstallerPropertiesImpl class. This encapsulates everything about the install and the shipped implementation consults properties or the user in the same way that the current ant based build does. It is extremely likely that InstallerProperties will be extended during the life of V4 with suitable default methods. For instance slip-streaming in a case such as

Jira Legacy
serverSystem JIRAcolumnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverIdf52c7d31-6eab-3f0e-93c3-231b5754d506
keyIDP-553
 would be done this way.

...

The V4Install class also has a method setMetadataGenerator(MetadataGenerator) where MetadataGenerator is a public interface with three methods

  1. setOutput(@Nonnull File where) which sets where the file is to be generated.

  2. setParameters(@Nonnull final MetadataGeneratorParameters what) which sets the parameters from which the metadata may be generated

  3. generate() to write the metadata file

The setMetadataGenerator method is defaulted suitably.

...