Class IndexInfo.IndexCommand

  • Enclosing class:
    IndexInfo

    public static class IndexInfo.IndexCommand
    extends java.lang.Object
    An index command. Null commands are also represented, to detect consistency issues. This is an (immutable) value object.
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexCommand​(java.lang.String index, java.lang.String command)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      java.lang.String getCommand()  
      java.lang.String getIndex()  
      int hashCode()  
      boolean isNull()
      Returns true if this is the null command (do nothing)
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IndexCommand

        public IndexCommand​(java.lang.String index,
                            java.lang.String command)
    • Method Detail

      • getIndex

        public java.lang.String getIndex()
      • getCommand

        public java.lang.String getCommand()
      • isNull

        public boolean isNull()
        Returns true if this is the null command (do nothing)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object