Class IndexInfo.IndexCommand
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.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()
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-