Class SimplePatch

java.lang.Object
org.alfresco.repo.admin.patch.AbstractPatch
org.alfresco.repo.admin.patch.SimplePatch
All Implemented Interfaces:
Patch, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

public class SimplePatch extends AbstractPatch
  • Field Details

  • Constructor Details

    • SimplePatch

      public SimplePatch()
      Default constructor for Spring config
  • Method Details

    • 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 String applyInternal() throws Exception
      Does nothing
      Specified by:
      applyInternal in class AbstractPatch
      Returns:
      Returns a success or failure message dependent on the constructor used
      Throws:
      Exception - anything can be thrown. This must be used for all failures.
      See Also: