Class UpdateScript


  • public abstract class UpdateScript
    extends java.lang.Object
    An update script.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  UpdateScript.Factory  
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateScript​(java.util.Map<java.lang.String,​java.lang.Object> params, java.util.Map<java.lang.String,​java.lang.Object> ctx)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void execute()  
      java.util.Map<java.lang.String,​java.lang.Object> getCtx()
      Return the update context for this script.
      java.util.Map<java.lang.String,​java.lang.Object> getParams()
      Return the parameters for this script.
      • Methods inherited from class java.lang.Object

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

      • UpdateScript

        public UpdateScript​(java.util.Map<java.lang.String,​java.lang.Object> params,
                            java.util.Map<java.lang.String,​java.lang.Object> ctx)
    • Method Detail

      • getParams

        public java.util.Map<java.lang.String,​java.lang.Object> getParams()
        Return the parameters for this script.
      • getCtx

        public java.util.Map<java.lang.String,​java.lang.Object> getCtx()
        Return the update context for this script.
      • execute

        public abstract void execute()