Class i5OSLibrary

  • All Implemented Interfaces:
    OSHostable, Referenceable

    public final class i5OSLibrary
    extends Action
    implements OSHostable
    Enables libraries to be restored on an i5/OS system. At build time, the Save Library (SAVLIB) command is called to save the library from the i5/OS build system. At install time, the Restore Library (RSTLIB) command is called to restore the library to the target system.
    • Constructor Detail

      • i5OSLibrary

        public i5OSLibrary()
    • Method Detail

      • getSourceLibrary

        public java.lang.String getSourceLibrary()
        Returns the name of the library available on the i5/OS build system.
      • setSourceLibrary

        public void setSourceLibrary​(java.lang.String sourceLibrary)
        Defines the name of the library available on the i5/OS build system.
      • getTargetRelease

        public java.lang.String getTargetRelease()
        Returns the minimum supported release level of the operating system on which you intend to restore the library. This value must be *CURRENT, *PRV, or a six-character release value in the format VxRxMx, where x is a digit (0-9).
      • setTargetRelease

        public void setTargetRelease​(java.lang.String targetRelease)
        Defines the minimum supported release level of the operating system on which you intend to restore the library. This value must be *CURRENT, *PRV, or a six-character release value in the format VxRxMx, where x is a digit (0-9).
      • getDestinationLibrary

        public java.lang.String getDestinationLibrary()
        Returns the name of the library on the target system. This setting specifies whether the library contents are restored to the same library from which they were saved or to a different library.
      • setDestinationLibrary

        public void setDestinationLibrary​(java.lang.String s)
        Defines the name of the library on the target system. This setting specifies whether the library contents are restored to the same library from which they were saved or to a different library.
      • getAdditionalRestoreParameters

        public java.lang.String getAdditionalRestoreParameters()
        Returns the additional parameters to pass to the RSTLIB command at install time.
      • setAdditionalRestoreParameters

        public void setAdditionalRestoreParameters​(java.lang.String additionalRestoreParameters)
        Defines the additional parameters to pass to the RSTLIB command at install time.
      • getAdditionalSaveParameters

        public java.lang.String getAdditionalSaveParameters()
        Returns the additional parameters to pass to the SAVLIB command at build time.
      • setAdditionalSaveParameters

        public void setAdditionalSaveParameters​(java.lang.String additionalSaveParameters)
        Defines the additional parameters to pass to the SAVLIB command at build time.