psdi.dm.pkg

Class ErrorResume

  • java.lang.Object
    • psdi.dm.pkg.ErrorResume


  • public class ErrorResume
    extends java.lang.Object
    Used to find where to resume a deployment after an error. If no error, nothing will be skipped.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ErrorResume(DMPackage pkg)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean skipCfgData(int cfgDataCursor)
      Returns true until stage number given that matches where deployment should resume.
      boolean skipType(java.lang.String type)
      Returns true until package type given that matches where deployment should resume.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorResume

        public ErrorResume(DMPackage pkg)
                    throws java.rmi.RemoteException,
                           MXException
        Constructor. The latest generated DMError record for the package is fetched to set up this object.
        Parameters:
        pkg -
        Throws:
        java.rmi.RemoteException
        MXException
    • Method Detail

      • skipType

        public boolean skipType(java.lang.String type)
        Returns true until package type given that matches where deployment should resume.
        Parameters:
        type - The current deployment type.
        Returns:
        True if the package type should be skipped.
      • skipCfgData

        public boolean skipCfgData(int cfgDataCursor)
        Returns true until stage number given that matches where deployment should resume.
        Parameters:
        cfgDataCursor - The current stage number.
        Returns:
        True if the stage should be skipped.