Package org.jboss.as.cli.handlers.ifelse
Class EqualsOperation
- java.lang.Object
-
- org.jboss.as.cli.handlers.ifelse.SameTypeOperation
-
- org.jboss.as.cli.handlers.ifelse.EqualsOperation
-
- All Implemented Interfaces:
Comparable<Operation>,Operand,Operation
public class EqualsOperation extends SameTypeOperation
- Author:
- Alexey Loubyansky
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsMoreArguments()intcompareTo(Operation o)protected booleandoCompare(Object left, Object right)StringgetName()List<Operand>getOperands()intgetPriority()ObjectresolveValue(CommandContext ctx, org.jboss.dmr.ModelNode response)StringtoString()-
Methods inherited from class org.jboss.as.cli.handlers.ifelse.SameTypeOperation
compare
-
-
-
-
Method Detail
-
doCompare
protected boolean doCompare(Object left, Object right)
- Specified by:
doComparein classSameTypeOperation
-
resolveValue
public Object resolveValue(CommandContext ctx, org.jboss.dmr.ModelNode response) throws CommandLineException
- Throws:
CommandLineException
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceOperation
-
getOperands
public List<Operand> getOperands()
- Specified by:
getOperandsin interfaceOperation
-
allowsMoreArguments
public boolean allowsMoreArguments()
-
compareTo
public int compareTo(Operation o)
- Specified by:
compareToin interfaceComparable<Operation>
-
-