Class i5OSObject
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.actions.Action
-
- com.zerog.ia.auto.project.actions.i5os.i5OSObject
-
- All Implemented Interfaces:
OSHostable
,Referenceable
public final class i5OSObject extends Action implements OSHostable
Enables one or more objects in the same library to be restored to an i5/OS system. At build time, the Save Objects (SAVOBJ) command is called to save the objects from the i5/OS build system. At install time, the Restore Objects (RSTOBJ) command is called to restore the objects to the target system.
-
-
Constructor Summary
Constructors Constructor Description i5OSObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdditionalRestoreParameters()
Returns the additional parameters to pass to the RSTLIB command at install time.java.lang.String
getAdditionalSaveParameters()
Returns the additional parameters to pass to the SAVLIB command at build time.java.lang.String
getObjectType()
Returns the types of objects to save.java.lang.String
getSourceLibrary()
Returns the name of the library from which the objects are saved on the i5/OS build system.java.lang.String
getSourceObjects()
Returns the names of the objects to save from the source library.java.lang.String
getTargetLibrary()
Returns the name of the library to which the objects are restored on the target system.java.lang.String
getTargetRelease()
Returns the minimum supported release level of the operating system on which you intend to restore the objects.void
setAdditionalRestoreParameters(java.lang.String additionalRestoreParameters)
Defines the additional parameters to pass to the RSTLIB command at install time.void
setAdditionalSaveParameters(java.lang.String additionalSaveParameters)
Defines the additional parameters to pass to the SAVLIB command at build time.void
setObjectType(java.lang.String objectType)
Defines the types of objects to save.void
setSourceLibrary(java.lang.String sourceLibrary)
Defines the name of the library from which the objects are saved on the i5/OS build system.void
setSourceObjects(java.lang.String sourceObjects)
Defines the names of the objects to save from the source library.void
setTargetLibrary(java.lang.String targetLibrary)
Defines the name of the library to which the objects are restored on the target system.void
setTargetRelease(java.lang.String targetRelease)
Defines the minimum supported release level of the operating system on which you intend to restore the objects.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getTargetRelease
public java.lang.String getTargetRelease()
Returns the minimum supported release level of the operating system on which you intend to restore the objects. Choose from *CURRENT, *PRV, or Other (type a six-character release value in the format VxRxMx, where x is a digit (0-9)). Default: *CURRENT.
-
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 objects. Choose from *CURRENT, *PRV, or Other (type a six-character release value in the format VxRxMx, where x is a digit (0-9)). Default: *CURRENT.
-
getTargetLibrary
public java.lang.String getTargetLibrary()
Returns the name of the library to which the objects are restored on the target system. Use *SAVLIB to restore objects to the same library. Default: *SAVLIB.
-
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. Default: OPTION(*ALL) MBROPT(*MATCH).
-
setAdditionalSaveParameters
public void setAdditionalSaveParameters(java.lang.String additionalSaveParameters)
Defines the additional parameters to pass to the SAVLIB command at build time. Default: OPTION(*ALL) MBROPT(*MATCH).
-
getAdditionalRestoreParameters
public java.lang.String getAdditionalRestoreParameters()
Returns the additional parameters to pass to the RSTLIB command at install time.
-
getSourceObjects
public java.lang.String getSourceObjects()
Returns the names of the objects to save from the source library. Both generic names and specific names can be used. Generic names are specified with an asterisk (for example, A*). In i5/OS, the Display Library (DSPLIB) command can be used to find the available objects in a library. Default: *ALL.
-
setSourceObjects
public void setSourceObjects(java.lang.String sourceObjects)
Defines the names of the objects to save from the source library. Both generic names and specific names can be used. Generic names are specified with an asterisk (for example, A*). In i5/OS, the Display Library (DSPLIB) command can be used to find the available objects in a library. Default: *ALL.
-
getObjectType
public java.lang.String getObjectType()
Returns the types of objects to save. Use *ALL to save all object types, or enter the specific object type you want to save. In i5/OS, the Display Library (DSPLIB) command can be used to find the available object types in a library. Default: *ALL.
-
setObjectType
public void setObjectType(java.lang.String objectType)
Defines the types of objects to save. Use *ALL to save all object types, or enter the specific object type you want to save. In i5/OS, the Display Library (DSPLIB) command can be used to find the available object types in a library. Default: *ALL.
-
getSourceLibrary
public java.lang.String getSourceLibrary()
Returns the name of the library from which the objects are saved on the i5/OS build system. Both generic names and specific names can be used. Generic names are specified with an asterisk (for example, A*). In i5/OS, the Display Library (DSPLIB) command can be used to find the available objects in a library.
-
setSourceLibrary
public void setSourceLibrary(java.lang.String sourceLibrary)
Defines the name of the library from which the objects are saved on the i5/OS build system. Both generic names and specific names can be used. Generic names are specified with an asterisk (for example, A*). In i5/OS, the Display Library (DSPLIB) command can be used to find the available objects in a library.
-
setTargetLibrary
public void setTargetLibrary(java.lang.String targetLibrary)
Defines the name of the library to which the objects are restored on the target system. Use *SAVLIB to restore objects to the same library. Default: *SAVLIB.
-
-