Class SamplePatch

  • All Implemented Interfaces:
    Patch, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

    public class SamplePatch
    extends AbstractPatch
    • Constructor Detail

      • SamplePatch

        public SamplePatch()
        Default constructor for Spring config
    • Method Detail

      • init

        public void init()
        Overrides the base class version to do nothing, i.e. it does not self-register
        Overrides:
        init in class AbstractPatch
      • applyInternal

        protected java.lang.String applyInternal()
                                          throws java.lang.Exception
        Does nothing
        Specified by:
        applyInternal in class AbstractPatch
        Returns:
        Returns a success or failure message dependent on the constructor used
        Throws:
        java.lang.Exception - anything can be thrown. This must be used for all failures.
        See Also:
        AbstractPatch.apply()