Class Revision


  • public final class Revision
    extends Object
    • Constructor Detail

      • Revision

        public Revision​(int number,
                        String comment,
                        String... body)
        Parameters:
        body - See getBody() for further information.
    • Method Detail

      • getNumber

        public int getNumber()
      • getComment

        public String getComment()
      • getBody

        public List<String> getBody()
        The statements listed here are guaranteed to be executed subsequently in the order specified by the list by one single connection. So you may use connection states within a revision.

        For each revision a new connection is created. That connection is not used for any other purpose afterwards so you don't have to cleanup connection state at the end of each revision. This is for minimizing effects between revisions.